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

This adds the S.S. Anne healer from FRLG that's notorious for gaslighting newer players who just think she's there. This also adds an extremely early Mewtwo theme. It's far from finished, just happens to be in this commit as I was testing it in debug - thanks to Luci for working on this! Updated bug list as well with things my friend Crunter found.
169 lines
3.1 KiB
NASM
169 lines
3.1 KiB
NASM
SSAnne1FRooms_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ld hl, SSAnne8TrainerHeaders
|
|
ld de, SSAnne1FRooms_ScriptPointers
|
|
ld a, [wSSAnne1FRoomsCurScript]
|
|
call ExecuteCurMapScriptInTable
|
|
ld [wSSAnne1FRoomsCurScript], a
|
|
ret
|
|
|
|
SSAnne1FRooms_ScriptPointers:
|
|
dw CheckFightingMapTrainers
|
|
dw DisplayEnemyTrainerTextAndStartBattle
|
|
dw EndTrainerBattle
|
|
|
|
SSAnne1FRooms_TextPointers:
|
|
dw SSAnne8Text1
|
|
dw SSAnne8Text2
|
|
dw SSAnne8Text3
|
|
dw SSAnne8Text4
|
|
dw SSAnne8Text5
|
|
dw SSAnne8Text6
|
|
dw SSAnne8Text7
|
|
dw SSAnne8Text8
|
|
dw SSAnne8Text9
|
|
dw PickUpItemText
|
|
dw SSAnne8Text11
|
|
dw PerrserkerTrade
|
|
dw WeezingTrade
|
|
dw SSAnneNurse
|
|
|
|
SSAnne8TrainerHeaders:
|
|
def_trainers
|
|
SSAnne8TrainerHeader0:
|
|
trainer EVENT_BEAT_SS_ANNE_8_TRAINER_0, 2, SSAnne8BattleText1, SSAnne8EndBattleText1, SSAnne8AfterBattleText1
|
|
SSAnne8TrainerHeader1:
|
|
trainer EVENT_BEAT_SS_ANNE_8_TRAINER_1, 3, SSAnne8BattleText2, SSAnne8EndBattleText2, SSAnne8AfterBattleText2
|
|
SSAnne8TrainerHeader2:
|
|
trainer EVENT_BEAT_SS_ANNE_8_TRAINER_2, 2, SSAnne8BattleText3, SSAnne8EndBattleText3, SSAnne8AfterBattleText3
|
|
SSAnne8TrainerHeader3:
|
|
trainer EVENT_BEAT_SS_ANNE_8_TRAINER_3, 2, SSAnne8BattleText4, SSAnne8EndBattleText4, SSAnne8AfterBattleText4
|
|
db -1 ; end
|
|
|
|
SSAnne8Text1:
|
|
text_asm
|
|
ld hl, SSAnne8TrainerHeader0
|
|
call TalkToTrainer
|
|
jp TextScriptEnd
|
|
|
|
SSAnne8Text2:
|
|
text_asm
|
|
ld hl, SSAnne8TrainerHeader1
|
|
call TalkToTrainer
|
|
jp TextScriptEnd
|
|
|
|
SSAnne8Text3:
|
|
text_asm
|
|
ld hl, SSAnne8TrainerHeader2
|
|
call TalkToTrainer
|
|
jp TextScriptEnd
|
|
|
|
SSAnne8Text4:
|
|
text_asm
|
|
ld hl, SSAnne8TrainerHeader3
|
|
call TalkToTrainer
|
|
jp TextScriptEnd
|
|
|
|
SSAnne8Text8:
|
|
text_far _SSAnne8Text8
|
|
text_asm
|
|
ld a, WIGGLYTUFF
|
|
call PlayCry
|
|
jp TextScriptEnd
|
|
|
|
SSAnne8BattleText1:
|
|
text_far _SSAnne8BattleText1
|
|
text_end
|
|
|
|
SSAnne8EndBattleText1:
|
|
text_far _SSAnne8EndBattleText1
|
|
text_end
|
|
|
|
SSAnne8AfterBattleText1:
|
|
text_far _SSAnne8AfterBattleText1
|
|
text_end
|
|
|
|
SSAnne8BattleText2:
|
|
text_far _SSAnne8BattleText2
|
|
text_end
|
|
|
|
SSAnne8EndBattleText2:
|
|
text_far _SSAnne8EndBattleText2
|
|
text_end
|
|
|
|
SSAnne8AfterBattleText2:
|
|
text_far _SSAnne8AfterBattleText2
|
|
text_end
|
|
|
|
SSAnne8BattleText3:
|
|
text_far _SSAnne8BattleText3
|
|
text_end
|
|
|
|
SSAnne8EndBattleText3:
|
|
text_far _SSAnne8EndBattleText3
|
|
text_end
|
|
|
|
SSAnne8AfterBattleText3:
|
|
text_far _SSAnne8AfterBattleText3
|
|
text_end
|
|
|
|
SSAnne8BattleText4:
|
|
text_far _SSAnne8BattleText4
|
|
text_end
|
|
|
|
SSAnne8EndBattleText4:
|
|
text_far _SSAnne8EndBattleText4
|
|
text_end
|
|
|
|
SSAnne8AfterBattleText4:
|
|
text_far _SSAnne8AfterBattleText4
|
|
text_end
|
|
|
|
SSAnne8Text5:
|
|
text_far _SSAnne8Text5
|
|
text_end
|
|
|
|
SSAnne8Text6:
|
|
text_far _SSAnne8Text6
|
|
text_end
|
|
|
|
SSAnne8Text7:
|
|
text_far _SSAnne8Text7
|
|
text_end
|
|
|
|
SSAnne8Text9:
|
|
text_far _SSAnne8Text9
|
|
text_end
|
|
|
|
SSAnne8Text11:
|
|
text_far _SSAnne8Text11
|
|
text_end
|
|
|
|
PerrserkerTrade:
|
|
text_asm
|
|
ld a, TRADE_FOR_PERRSERKER
|
|
ld [wWhichTrade], a
|
|
predef DoInGameTradeDialogue
|
|
jp TextScriptEnd
|
|
|
|
WeezingTrade:
|
|
text_asm
|
|
ld a, TRADE_FOR_WEEZING_G
|
|
ld [wWhichTrade], a
|
|
predef DoInGameTradeDialogue
|
|
jp TextScriptEnd
|
|
|
|
SSAnneNurse:
|
|
text_far _SilphCo9Text_5d8e5
|
|
text_asm
|
|
predef HealParty
|
|
call GBFadeOutToWhite
|
|
call Delay3
|
|
call GBFadeInFromWhite
|
|
ld hl, SSAnneNurseDone
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
SSAnneNurseDone:
|
|
text_far _SSAnneNurseDone
|
|
text_end |