diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-10-01 02:30:10 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-10-16 20:22:11 -0500 |
commit | 11170ce90c0baf77b196e378441d25e7f16e2cf3 (patch) | |
tree | c3c37595941663287d60557ec6b98c84f06c6a43 /include/macros/event.inc | |
parent | 3773318935a8a94a8d48fe76f3868d3826c933b7 (diff) |
Sync specialvars with pokeemerald
Diffstat (limited to 'include/macros/event.inc')
-rw-r--r-- | include/macros/event.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/macros/event.inc b/include/macros/event.inc index 8b2d587c9..7250ec5ca 100644 --- a/include/macros/event.inc +++ b/include/macros/event.inc @@ -1449,11 +1449,11 @@ .endm .macro switch var - copyvar VAR_SPECIAL_0, \var + copyvar VAR_0x8000, \var .endm .macro case condition, dest - compare_var_to_value VAR_SPECIAL_0, \condition + compare_var_to_value VAR_0x8000, \condition goto_if_eq \dest .endm @@ -1469,12 +1469,12 @@ NO = 0 .macro giveitem_std item, amount=1, function=0 - setorcopyvar VAR_SPECIAL_0, \item - setorcopyvar VAR_SPECIAL_1, \amount + setorcopyvar VAR_0x8000, \item + setorcopyvar VAR_0x8001, \amount callstd \function .endm .macro givedecoration_std decoration - setorcopyvar VAR_SPECIAL_0, \decoration + setorcopyvar VAR_0x8000, \decoration callstd 7 .endm |