pokeyellow/scripts/Route6.asm

153 lines
4.1 KiB
NASM
Raw Permalink Normal View History

2020-05-21 00:40:33 +00:00
Route6_Script:
2014-05-18 18:19:10 +00:00
call EnableAutoTextBoxDrawing
ld hl, Route6TrainerHeaders
2020-05-21 00:40:33 +00:00
ld de, Route6_ScriptPointers
ld a, [wRoute6CurScript]
2014-05-18 18:19:10 +00:00
call ExecuteCurMapScriptInTable
ld [wRoute6CurScript], a
2014-05-18 18:19:10 +00:00
ret
2020-05-21 00:40:33 +00:00
Route6_ScriptPointers:
def_script_pointers
dw_const CheckFightingMapTrainers, SCRIPT_ROUTE6_DEFAULT
dw_const DisplayEnemyTrainerTextAndStartBattle, SCRIPT_ROUTE6_START_BATTLE
dw_const EndTrainerBattle, SCRIPT_ROUTE6_END_BATTLE
2014-05-18 18:19:10 +00:00
2020-05-21 00:40:33 +00:00
Route6_TextPointers:
def_text_pointers
dw_const Route6CooltrainerM1Text, TEXT_ROUTE6_COOLTRAINER_M1
dw_const Route6CooltrainerF1Text, TEXT_ROUTE6_COOLTRAINER_F1
2023-11-19 22:03:49 +00:00
dw_const Route6Youngster1Text, TEXT_ROUTE6_YOUNGSTER1
dw_const Route6CooltrainerM2Text, TEXT_ROUTE6_COOLTRAINER_M2
dw_const Route6CooltrainerF2Text, TEXT_ROUTE6_COOLTRAINER_F2
2023-11-19 22:03:49 +00:00
dw_const Route6Youngster2Text, TEXT_ROUTE6_YOUNGSTER2
dw_const Route6UndergroundPathSignText, TEXT_ROUTE6_UNDERGROUND_PATH_SIGN
2014-05-18 18:19:10 +00:00
Route6TrainerHeaders:
def_trainers
2016-06-08 11:44:58 +00:00
Route6TrainerHeader0:
trainer EVENT_BEAT_ROUTE_6_TRAINER_0, 0, Route6CooltrainerM1BattleText, Route6CooltrainerM1EndBattleText, Route6CooltrainerM1AfterBattleText
2016-06-08 11:44:58 +00:00
Route6TrainerHeader1:
trainer EVENT_BEAT_ROUTE_6_TRAINER_1, 0, Route6CooltrainerF1BattleText, Route6CooltrainerF1EndBattleText, Route6CooltrainerF1AfterBattleText
2016-06-08 11:44:58 +00:00
Route6TrainerHeader2:
trainer EVENT_BEAT_ROUTE_6_TRAINER_2, 4, Route6Youngster1BattleText, Route6Youngster1EndBattleText, Route6Youngster1AfterBattleText
2016-06-08 11:44:58 +00:00
Route6TrainerHeader3:
trainer EVENT_BEAT_ROUTE_6_TRAINER_3, 3, Route6CooltrainerM2BattleText, Route6CooltrainerM2EndBattleText, Route6CooltrainerM2AfterBattleText
2016-06-08 11:44:58 +00:00
Route6TrainerHeader4:
trainer EVENT_BEAT_ROUTE_6_TRAINER_4, 3, Route6CooltrainerF2BattleText, Route6CooltrainerF2EndBattleText, Route6CooltrainerF2AfterBattleText
2016-06-08 11:44:58 +00:00
Route6TrainerHeader5:
trainer EVENT_BEAT_ROUTE_6_TRAINER_5, 3, Route6Youngster2BattleText, Route6Youngster2EndBattleText, Route6Youngster2AfterBattleText
2020-11-04 06:06:44 +00:00
db -1 ; end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM1Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route6CooltrainerM1BattleText:
text_far _Route6CooltrainerM1BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM1EndBattleText:
text_far _Route6CooltrainerM1EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM1AfterBattleText:
text_far _Route6CooltrainerM1AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF1Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route6CooltrainerF1BattleText:
text_far _Route6CooltrainerF1BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF1EndBattleText:
text_far _Route6CooltrainerF1EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF1AfterBattleText:
text_far _Route6CooltrainerF1AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2016-05-27 16:46:48 +00:00
Route6Youngster1Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route6Youngster1BattleText:
text_far _Route6Youngster1BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6Youngster1EndBattleText:
text_far _Route6Youngster1EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6Youngster1AfterBattleText:
text_far _Route6Youngster1AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM2Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route6CooltrainerM2BattleText:
text_far _Route6CooltrainerM2BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM2EndBattleText:
text_far _Route6CooltrainerM2EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerM2AfterBattleText:
text_far _Route6CooltrainerM2AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF2Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route6CooltrainerF2BattleText:
text_far _Route6CooltrainerF2BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF2EndBattleText:
text_far _Route6CooltrainerF2EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6CooltrainerF2AfterBattleText:
text_far _Route6CooltrainerF2AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6Youngster2Text:
2020-11-04 06:06:44 +00:00
text_asm
2014-05-18 18:19:10 +00:00
ld hl, Route6TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route6Youngster2BattleText:
text_far _Route6Youngster2BattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6Youngster2EndBattleText:
text_far _Route6Youngster2EndBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6Youngster2AfterBattleText:
text_far _Route6Youngster2AfterBattleText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
Route6UndergroundPathSignText:
text_far _Route6UndergroundPathSignText
2020-11-04 06:06:44 +00:00
text_end