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

I am 90% sure something will bug out, can't test the map right now for obvious reasons. Tested everything else, though. Mostly copied data from Cinnabar Volcano while commenting out Vermillion Dock Mew info to move it. Wild data has been added along with a fishing group, just dummied out slots. Old Sea Chart is a clone of the Citrine Pass which is all it needs to be. It is obtainable near the truck.
39 lines
857 B
NASM
39 lines
857 B
NASM
FarawayIslandInside_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ld hl, FarawayIslandInsideTrainerHeaders
|
|
ld de, FarawayIslandInside_ScriptPointers
|
|
ld a, [wFarawayIslandInsideCurScript]
|
|
call ExecuteCurMapScriptInTable
|
|
ld [wFarawayIslandInsideCurScript], a
|
|
ret
|
|
|
|
FarawayIslandInside_ScriptPointers:
|
|
dw CheckFightingMapTrainers
|
|
dw DisplayEnemyTrainerTextAndStartBattle
|
|
dw EndTrainerBattle
|
|
|
|
FarawayIslandInside_TextPointers:
|
|
dw FarawayIslandInsideText2
|
|
|
|
FarawayIslandInsideTrainerHeaders:
|
|
def_trainers
|
|
MewTrainerHeader:
|
|
trainer EVENT_BEAT_MEW, 0, MewBattleText, MewBattleText, MewBattleText
|
|
db -1 ; end
|
|
|
|
FarawayIslandInsideText2:
|
|
text_asm
|
|
ld hl, MewTrainerHeader
|
|
call TalkToTrainer
|
|
jp TextScriptEnd
|
|
|
|
MewBattleText:
|
|
text_far _MewtwoBattleText ; Mew!
|
|
text_asm
|
|
ld a, MEW
|
|
call PlayCry
|
|
call WaitForSoundToFinish
|
|
jp TextScriptEnd
|
|
|
|
text_end ; unused
|