diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-24 10:11:43 -0600 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2017-12-24 10:14:54 -0600 |
commit | 1c8b05e7b059a98d4259f4129896d0cc1eaa3847 (patch) | |
tree | ba882643b40c20d5a15b2d330f091b1ef0e0c751 /data/scripts/tv.inc | |
parent | 51247c3eb9dc1f8ecf4298ada62ed7c2f768b50e (diff) |
Name and use constants for special vars
Diffstat (limited to 'data/scripts/tv.inc')
-rw-r--r-- | data/scripts/tv.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc index cf5fb26c5..23ed463d9 100644 --- a/data/scripts/tv.inc +++ b/data/scripts/tv.inc @@ -18,13 +18,13 @@ Event_TV:: @ 81A6E72 end EventScript_1A6EBB: - specialvar 0x8004, special_0x44 - compare 0x8004, 255 + specialvar SPECIALVAR_4, special_0x44 + compare SPECIALVAR_4, 255 goto_if_eq EventScript_1A6F3F specialvar RESULT, special_0x4a compare RESULT, 255 goto_if_eq EventScript_1A6F3F - copyvar 0x8004, RESULT + copyvar SPECIALVAR_4, RESULT specialvar RESULT, sub_80BDA0C compare RESULT, 0 goto_if 5, EventScript_1A6F21 |