summaryrefslogtreecommitdiff
path: root/maps/MahoganyGym.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-05-15 09:51:36 -0400
committerentrpntr <entrpntr@gmail.com>2020-05-15 09:57:37 -0400
commit05b591cd95f3fd62e84b33eb56d25f197b17a96c (patch)
tree57635b441bb8b2a208a359126c5dc9b8df7abfa6 /maps/MahoganyGym.asm
parent82c33aacb036428bf9861e7f97914c7bb675fa07 (diff)
Remove remaining legacy macros from current code.
Diffstat (limited to 'maps/MahoganyGym.asm')
-rw-r--r--maps/MahoganyGym.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/maps/MahoganyGym.asm b/maps/MahoganyGym.asm
index 55e6da6f..ad3584ec 100644
--- a/maps/MahoganyGym.asm
+++ b/maps/MahoganyGym.asm
@@ -30,7 +30,7 @@ MahoganyGymPryceScript:
playsound SFX_GET_BADGE
waitsfx
setflag ENGINE_GLACIERBADGE
- checkcode VAR_BADGES
+ readvar VAR_BADGES
scall MahoganyGymActivateRockets
.FightDone:
checkevent EVENT_GOT_TM16_ICY_WIND
@@ -144,7 +144,7 @@ MahoganyGymStatue:
iftrue .Beaten
jumpstd gymstatue1
.Beaten:
- trainertotext PRYCE, PRYCE1, STRING_BUFFER_4
+ gettrainername STRING_BUFFER_4, PRYCE, PRYCE1
jumpstd gymstatue2
PryceText_Intro: