2019-01-01 20:06:23 +00:00
|
|
|
ViridianForest_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
call EnableAutoTextBoxDrawing
|
2021-04-13 22:24:37 +00:00
|
|
|
ld hl, ViridianForestTrainerHeaders
|
2019-01-01 20:06:23 +00:00
|
|
|
ld de, ViridianForest_ScriptPointers
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wViridianForestCurScript]
|
2014-05-18 18:19:10 +00:00
|
|
|
call ExecuteCurMapScriptInTable
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wViridianForestCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
ViridianForest_ScriptPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_script_pointers
|
|
|
|
dw_const CheckFightingMapTrainers, SCRIPT_VIRIDIANFOREST_DEFAULT
|
|
|
|
dw_const DisplayEnemyTrainerTextAndStartBattle, SCRIPT_VIRIDIANFOREST_START_BATTLE
|
|
|
|
dw_const EndTrainerBattle, SCRIPT_VIRIDIANFOREST_END_BATTLE
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
ViridianForest_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const ViridianForestYoungster1Text, TEXT_VIRIDIANFOREST_YOUNGSTER1
|
|
|
|
dw_const ViridianForestYoungster2Text, TEXT_VIRIDIANFOREST_YOUNGSTER2
|
|
|
|
dw_const ViridianForestYoungster3Text, TEXT_VIRIDIANFOREST_YOUNGSTER3
|
|
|
|
dw_const ViridianForestYoungster4Text, TEXT_VIRIDIANFOREST_YOUNGSTER4
|
|
|
|
dw_const PickUpItemText, TEXT_VIRIDIANFOREST_ANTIDOTE
|
|
|
|
dw_const PickUpItemText, TEXT_VIRIDIANFOREST_POTION
|
|
|
|
dw_const PickUpItemText, TEXT_VIRIDIANFOREST_POKE_BALL
|
|
|
|
dw_const ViridianForestYoungster5Text, TEXT_VIRIDIANFOREST_YOUNGSTER5
|
|
|
|
dw_const ViridianForestTrainerTips1Text, TEXT_VIRIDIANFOREST_TRAINER_TIPS1
|
|
|
|
dw_const ViridianForestUseAntidoteSignText, TEXT_VIRIDIANFOREST_USE_ANTIDOTE_SIGN
|
|
|
|
dw_const ViridianForestTrainerTips2Text, TEXT_VIRIDIANFOREST_TRAINER_TIPS2
|
|
|
|
dw_const ViridianForestTrainerTips3Text, TEXT_VIRIDIANFOREST_TRAINER_TIPS3
|
|
|
|
dw_const ViridianForestTrainerTips4Text, TEXT_VIRIDIANFOREST_TRAINER_TIPS4
|
|
|
|
dw_const ViridianForestLeavingSignText, TEXT_VIRIDIANFOREST_LEAVING_SIGN
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2021-04-13 22:24:37 +00:00
|
|
|
ViridianForestTrainerHeaders:
|
|
|
|
def_trainers 2
|
2016-06-12 00:24:04 +00:00
|
|
|
ViridianForestTrainerHeader0:
|
2023-07-14 01:27:56 +00:00
|
|
|
trainer EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_0, 4, ViridianForestYoungster2BattleText, ViridianForestYoungster2EndBattleText, ViridianForestYoungster2AfterBattleText
|
2016-06-12 00:24:04 +00:00
|
|
|
ViridianForestTrainerHeader1:
|
2023-07-14 01:27:56 +00:00
|
|
|
trainer EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_1, 4, ViridianForestYoungster3BattleText, ViridianForestYoungster3EndBattleText, ViridianForestYoungster3AfterBattleText
|
2016-06-12 00:24:04 +00:00
|
|
|
ViridianForestTrainerHeader2:
|
2023-07-14 01:27:56 +00:00
|
|
|
trainer EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_2, 1, ViridianForestYoungster4BattleText, ViridianForestYoungster4EndBattleText, ViridianForestYoungster4AfterBattleText
|
2020-07-14 19:45:36 +00:00
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster1Text:
|
|
|
|
text_far _ViridianForestYoungster1Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster2Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, ViridianForestTrainerHeader0
|
|
|
|
call TalkToTrainer
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster3Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, ViridianForestTrainerHeader1
|
|
|
|
call TalkToTrainer
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster4Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, ViridianForestTrainerHeader2
|
|
|
|
call TalkToTrainer
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster2BattleText:
|
|
|
|
text_far _ViridianForestYoungster2BattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster2EndBattleText:
|
|
|
|
text_far _ViridianForestYoungster2EndBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster2AfterBattleText:
|
|
|
|
text_far _ViridianForestYoungster2AfterBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster3BattleText:
|
|
|
|
text_far _ViridianForestYoungster3BattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster3EndBattleText:
|
|
|
|
text_far _ViridianForestYoungster3EndBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster3AfterBattleText:
|
|
|
|
text_far _ViridianForestYoungster3AfterBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster4BattleText:
|
|
|
|
text_far _ViridianForestYoungster4BattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster4EndBattleText:
|
|
|
|
text_far _ViridianForestYoungster4EndBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster4AfterBattleText:
|
|
|
|
text_far _ViridianForestYoungster4AfterBattleText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestYoungster5Text:
|
|
|
|
text_far _ViridianForestYoungster5Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestTrainerTips1Text:
|
|
|
|
text_far _ViridianForestTrainerTips1Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestUseAntidoteSignText:
|
|
|
|
text_far _ViridianForestUseAntidoteSignText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestTrainerTips2Text:
|
|
|
|
text_far _ViridianForestTrainerTips2Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestTrainerTips3Text:
|
|
|
|
text_far _ViridianForestTrainerTips3Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestTrainerTips4Text:
|
|
|
|
text_far _ViridianForestTrainerTips4Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ViridianForestLeavingSignText:
|
|
|
|
text_far _ViridianForestLeavingSignText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|