mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

Credit to ViWalls for discovering most of these bugs in his playtest: - Citrine City's theme has been made slightly louder. - The book in Mr. Fuji's house had difficulties working properly, so it's been removed for now. - Fixed issues where Silph Co. and the Fishing Rod house displayed incorrectly on the Town Map. - Removed the unnecessary sign outside Celadon University. - Fixed an issue where 2 NPCs in Cinnabar Lab and Pokemon Mansion, respectively, had incorrect text. - Fixed a text issue in Pokemon Mansion where the final Mewtwo log would display incorrectly. - Altered a piece of text in the secret area of Pokemon Mansion to avoid a text box error since the idea we had in mind for it was scrapped. - Fixed a text issue in Viridian Pre-Gym where the text for the right-side poster overflowed past the edge of the textbox.
116 lines
2 KiB
NASM
116 lines
2 KiB
NASM
MrFujisHouse_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ret
|
|
|
|
MrFujisHouse_TextPointers:
|
|
dw LavenderHouse1Text1
|
|
dw LavenderHouse1Text2
|
|
dw LavenderHouse1Text3
|
|
dw LavenderHouse1Text4
|
|
dw LavenderHouse1Text5
|
|
dw LavenderHouse1Text7
|
|
|
|
LavenderHouse1Text1:
|
|
text_asm
|
|
CheckEvent EVENT_RESCUED_MR_FUJI
|
|
jr nz, .rescued_mr_fuji
|
|
ld hl, LavenderHouse1Text_1d8d1
|
|
call PrintText
|
|
jr .done
|
|
.rescued_mr_fuji
|
|
ld hl, LavenderHouse1Text_1d8d6
|
|
call PrintText
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
LavenderHouse1Text_1d8d1:
|
|
text_far _LavenderHouse1Text_1d8d1
|
|
text_end
|
|
|
|
LavenderHouse1Text_1d8d6:
|
|
text_far _LavenderHouse1Text_1d8d6
|
|
text_end
|
|
|
|
LavenderHouse1Text2:
|
|
text_asm
|
|
CheckEvent EVENT_RESCUED_MR_FUJI
|
|
jr nz, .rescued_mr_fuji
|
|
ld hl, LavenderHouse1Text_1d8f4
|
|
call PrintText
|
|
jr .done
|
|
.rescued_mr_fuji
|
|
ld hl, LavenderHouse1Text_1d8f9
|
|
call PrintText
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
LavenderHouse1Text_1d8f4:
|
|
text_far _LavenderHouse1Text_1d8f4
|
|
text_end
|
|
|
|
LavenderHouse1Text_1d8f9:
|
|
text_far _LavenderHouse1Text_1d8f9
|
|
text_end
|
|
|
|
LavenderHouse1Text3:
|
|
text_far _SandshrewText
|
|
text_asm
|
|
ld a, SANDSHREW
|
|
call PlayCry
|
|
jp TextScriptEnd
|
|
|
|
LavenderHouse1Text4:
|
|
text_far _BulbasaurText
|
|
text_asm
|
|
ld a, BULBASAUR
|
|
call PlayCry
|
|
jp TextScriptEnd
|
|
|
|
LavenderHouse1Text5:
|
|
text_asm
|
|
CheckEvent EVENT_GOT_POKE_FLUTE
|
|
jr nz, .got_item
|
|
ld hl, LavenderHouse1Text_1d94c
|
|
call PrintText
|
|
lb bc, POKE_FLUTE, 1
|
|
call GiveItem
|
|
jr nc, .bag_full
|
|
ld hl, ReceivedFluteText
|
|
call PrintText
|
|
SetEvent EVENT_GOT_POKE_FLUTE
|
|
jr .done
|
|
.bag_full
|
|
ld hl, FluteNoRoomText
|
|
call PrintText
|
|
jr .done
|
|
.got_item
|
|
ld hl, MrFujiAfterFluteText
|
|
call PrintText
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
LavenderHouse1Text_1d94c:
|
|
text_far _LavenderHouse1Text_1d94c
|
|
text_end
|
|
|
|
ReceivedFluteText:
|
|
text_far _ReceivedFluteText
|
|
sound_get_key_item
|
|
text_far _FluteExplanationText
|
|
text_end
|
|
|
|
FluteNoRoomText:
|
|
text_far _FluteNoRoomText
|
|
text_end
|
|
|
|
MrFujiAfterFluteText:
|
|
text_far _MrFujiAfterFluteText
|
|
text_end
|
|
|
|
LavenderHouse1Text7:
|
|
text_far _OddishText
|
|
text_asm
|
|
ld a, ODDISH
|
|
call PlayCry
|
|
jp TextScriptEnd
|