mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00

In the name of making Pikachu/Eevee mode more accurate to Yellow, the starter trio are being made obtainable. However, I am also improving it in some respects to make it more accurate. In the anime, the Hidden Village is between Cerulean and Vermillion, so Yellow's implementation is inaccurate. It also pushes the Jynx trader out of the house, which is undesirable. Thus, Melanie has been placed in the Day Care to give more reason to go there, as well as make the Day Care look more like the one from FireRed and LeafGreen. In the name of this, a PC has been added as well, allowing for easier utility around the Day Care itself. Bulbasaur is currently allergic to hiding for some reason but we'll figure that out later.
121 lines
2.1 KiB
NASM
121 lines
2.1 KiB
NASM
MrFujisHouse_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ret
|
|
|
|
MrFujisHouse_TextPointers:
|
|
dw LavenderHouse1Text1
|
|
dw LavenderHouse1Text2
|
|
dw LavenderHouse1Text3
|
|
dw LavenderHouse1Text4
|
|
dw LavenderHouse1Text5
|
|
dw LavenderHouse1Text6
|
|
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
|
|
|
|
LavenderHouse1Text6:
|
|
text_far _LavenderHouse1Text6
|
|
text_end
|
|
|
|
LavenderHouse1Text7:
|
|
text_far _OddishText
|
|
text_asm
|
|
ld a, ODDISH
|
|
call PlayCry
|
|
jp TextScriptEnd
|