summaryrefslogtreecommitdiff
path: root/scripts/PewterGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PewterGym.asm')
-rw-r--r--scripts/PewterGym.asm17
1 files changed, 15 insertions, 2 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm
index ba0bdd00..c8dac1eb 100644
--- a/scripts/PewterGym.asm
+++ b/scripts/PewterGym.asm
@@ -14,7 +14,8 @@ PewterGym_Script:
.LoadNames:
ld hl, .CityName
ld de, .LeaderName
- jp LoadGymLeaderAndCityName
+ call LoadGymLeaderAndCityName
+ ret
.CityName:
db "PEWTER CITY@"
@@ -150,7 +151,7 @@ PewterGymText6:
PewterGymText_5c4bc:
text_far _PewterGymText_5c4bc
- sound_level_up ; probably supposed to play SFX_GET_ITEM_1 but the wrong music bank is loaded
+ sound_get_item_1
text_far _PewterGymText_5c4c1
text_end
@@ -183,6 +184,9 @@ PewterGymText3:
ld a, [wCurrentMenuItem]
and a
jr nz, .asm_5c4fe
+ ld a, [wd472]
+ bit 7, a
+ jp nz, .asm_5c3fa
ld hl, PewterGymText_5c51a
call PrintText
jr .asm_5c504
@@ -198,6 +202,10 @@ PewterGymText3:
call PrintText
.asm_5c512
jp TextScriptEnd
+.asm_5c3fa
+ ld hl, PewterGymText_5c41c
+ call PrintText
+ jp TextScriptEnd
PewterGymText_5c515:
text_far _PewterGymText_5c515
@@ -218,3 +226,8 @@ PewterGymText_5c524:
PewterGymText_5c529:
text_far _PewterGymText_5c529
text_end
+
+PewterGymText_5c41c:
+ text_far _PewterGymGuyText
+ text_end
+