forked from pret/pokecrystal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
vc_const
to work with charmap characters (necessary for pokeg…
…old)
- Loading branch information
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
vc_hook: MACRO | ||
if DEF(_CRYSTAL11_VC) | ||
.VC_\1:: | ||
endc | ||
if DEF(_CRYSTAL11_VC) | ||
.VC_\1:: | ||
endc | ||
ENDM | ||
|
||
vc_patch: MACRO | ||
if DEF(_CRYSTAL11_VC) | ||
assert !DEF(CURRENT_VC_PATCH), "Already started a vc_patch" | ||
if DEF(_CRYSTAL11_VC) | ||
assert !DEF(CURRENT_VC_PATCH), "Already started a vc_patch" | ||
CURRENT_VC_PATCH EQUS "\1" | ||
.VC_{CURRENT_VC_PATCH}:: | ||
endc | ||
.VC_{CURRENT_VC_PATCH}:: | ||
endc | ||
ENDM | ||
|
||
vc_patch_end: MACRO | ||
if DEF(_CRYSTAL11_VC) | ||
assert DEF(CURRENT_VC_PATCH), "No vc_patch started" | ||
.VC_{CURRENT_VC_PATCH}_End:: | ||
PURGE CURRENT_VC_PATCH | ||
endc | ||
if DEF(_CRYSTAL11_VC) | ||
assert DEF(CURRENT_VC_PATCH), "No vc_patch started" | ||
.VC_{CURRENT_VC_PATCH}_End:: | ||
PURGE CURRENT_VC_PATCH | ||
endc | ||
ENDM | ||
|
||
vc_assert: MACRO | ||
if DEF(_CRYSTAL11_VC) | ||
assert \# | ||
endc | ||
if DEF(_CRYSTAL11_VC) | ||
assert \# | ||
endc | ||
ENDM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters