summaryrefslogtreecommitdiff
path: root/scripts/PewterGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PewterGym.asm')
-rw-r--r--scripts/PewterGym.asm16
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm
index f65d5506..2d3c2bb9 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@"
@@ -152,7 +153,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
@@ -185,6 +186,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
@@ -200,6 +204,10 @@ PewterGymText3:
call PrintText
.asm_5c512
jp TextScriptEnd
+.asm_5c3fa
+ ld hl, PewterGymText_5c41c
+ call PrintText
+ jp TextScriptEnd
PewterGymText_5c515:
text_far _PewterGymText_5c515
@@ -220,3 +228,7 @@ PewterGymText_5c524:
PewterGymText_5c529:
text_far _PewterGymText_5c529
text_end
+
+PewterGymText_5c41c:
+ text_far _PewterGymGuyText
+ text_end