Deobfuscate Pewter city

This commit is contained in:
deak311andris 2019-10-07 15:53:27 +02:00
parent 1aa28afad4
commit 71090c1349

View file

@ -207,11 +207,11 @@ PewterCityText3:
call YesNoChoice call YesNoChoice
ld a, [wCurrentMenuItem] ld a, [wCurrentMenuItem]
and a and a
jr nz, .asm_193c9 jr nz, .playerDidNotGoIntoMuseum
ld hl, PewterCityText_193f6 ld hl, PewterCityText_193f6
call PrintText call PrintText
jr .asm_193ee jr .done
.asm_193c9 .playerDidNotGoIntoMuseum
ld hl, PewterCityText_193fb ld hl, PewterCityText_193fb
call PrintText call PrintText
xor a xor a
@ -227,7 +227,7 @@ PewterCityText3:
call GetSpritePosition2 call GetSpritePosition2
ld a, $1 ld a, $1
ld [wPewterCityCurScript], a ld [wPewterCityCurScript], a
.asm_193ee .done
jp TextScriptEnd jp TextScriptEnd
PewterCityText_193f1: PewterCityText_193f1:
@ -253,14 +253,14 @@ PewterCityText4:
call YesNoChoice call YesNoChoice
ld a, [wCurrentMenuItem] ld a, [wCurrentMenuItem]
cp $0 cp $0
jr nz, .asm_1941e jr nz, .playerDoesNotKnow
ld hl, PewterCityText_1942c ld hl, PewterCityText_1942c
call PrintText call PrintText
jr .asm_19424 jr .done
.asm_1941e .playerDoesNotKnow
ld hl, PewterCityText_19431 ld hl, PewterCityText_19431
call PrintText call PrintText
.asm_19424 .done
jp TextScriptEnd jp TextScriptEnd
PewterCityText_19427: PewterCityText_19427: