ref: ce4c2d3d1247b7d90c7cf6d5b64ef486a88b70c7
dir: /scripts/SSAnneBow.asm/
SSAnneBow_Script: call EnableAutoTextBoxDrawing ld hl, SSAnne5TrainerHeaders ld de, SSAnneBow_ScriptPointers ld a, [wSSAnneBowCurScript] call ExecuteCurMapScriptInTable ld [wSSAnneBowCurScript], a ret SSAnneBow_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle SSAnneBow_TextPointers: dw SSAnne5Text1 dw SSAnne5Text2 dw SSAnne5Text3 dw SSAnne5Text4 dw SSAnne5Text5 SSAnne5TrainerHeaders: def_trainers 4 SSAnne5TrainerHeader0: trainer EVENT_BEAT_SS_ANNE_5_TRAINER_0, 3, SSAnne5BattleText1, SSAnne5EndBattleText1, SSAnne5AfterBattleText1 SSAnne5TrainerHeader1: trainer EVENT_BEAT_SS_ANNE_5_TRAINER_1, 3, SSAnne5BattleText2, SSAnne5EndBattleText2, SSAnne5AfterBattleText2 db -1 ; end SSAnne5Text1: text_far _SSAnne5Text1 text_end SSAnne5Text2: text_far _SSAnne5Text2 text_end SSAnne5Text3: text_far _SSAnne5Text3 text_end SSAnne5Text4: text_asm ld hl, SSAnne5TrainerHeader0 call TalkToTrainer jp TextScriptEnd SSAnne5BattleText1: text_far _SSAnne5BattleText1 text_end SSAnne5EndBattleText1: text_far _SSAnne5EndBattleText1 text_end SSAnne5AfterBattleText1: text_far _SSAnne5AfterBattleText1 text_end SSAnne5Text5: text_asm ld hl, SSAnne5TrainerHeader1 call TalkToTrainer jp TextScriptEnd SSAnne5BattleText2: text_far _SSAnne5BattleText2 text_end SSAnne5EndBattleText2: text_far _SSAnne5EndBattleText2 text_end SSAnne5AfterBattleText2: text_far _SSAnne5AfterBattleText2 text_end