summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordeak311andris <deak311andris@gmail.com>2019-10-07 15:53:27 +0200
committerdeak311andris <deak311andris@gmail.com>2019-10-07 15:53:27 +0200
commit71090c13497946b739cd13f80d31ee13b464e9e6 (patch)
treec3173f524f1b6355ea6c193f3fc547ec80741ce9 /scripts
parent1aa28afad421b0b5725e0d7302a7f091dd7df40d (diff)
Deobfuscate Pewter city
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/PewterCity.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/PewterCity.asm b/scripts/PewterCity.asm
index dcc449c1..18296675 100755
--- a/scripts/PewterCity.asm
+++ b/scripts/PewterCity.asm
@@ -207,11 +207,11 @@ PewterCityText3:
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
- jr nz, .asm_193c9
+ jr nz, .playerDidNotGoIntoMuseum
ld hl, PewterCityText_193f6
call PrintText
- jr .asm_193ee
-.asm_193c9
+ jr .done
+.playerDidNotGoIntoMuseum
ld hl, PewterCityText_193fb
call PrintText
xor a
@@ -227,7 +227,7 @@ PewterCityText3:
call GetSpritePosition2
ld a, $1
ld [wPewterCityCurScript], a
-.asm_193ee
+.done
jp TextScriptEnd
PewterCityText_193f1:
@@ -253,14 +253,14 @@ PewterCityText4:
call YesNoChoice
ld a, [wCurrentMenuItem]
cp $0
- jr nz, .asm_1941e
+ jr nz, .playerDoesNotKnow
ld hl, PewterCityText_1942c
call PrintText
- jr .asm_19424
-.asm_1941e
+ jr .done
+.playerDoesNotKnow
ld hl, PewterCityText_19431
call PrintText
-.asm_19424
+.done
jp TextScriptEnd
PewterCityText_19427: