Files
pokeemerald/data/maps/Route110_TrickHousePuzzle4/scripts.inc
2024-07-05 07:31:42 -04:00

43 lines
1.5 KiB
PHP

Route110_TrickHousePuzzle4_MapScripts::
.byte 0
Route110_TrickHousePuzzle4_EventScript_Scroll::
lockall
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_4_STATE, 0, Route110_TrickHousePuzzle4_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle4_EventScript_FoundScroll::
setvar VAR_TRICK_HOUSE_PUZZLE_4_STATE, 1
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle4_EventScript_Cora::
trainerbattle_single TRAINER_CORA, Route110_TrickHousePuzzle4_Text_CoraIntro, Route110_TrickHousePuzzle4_Text_CoraDefeat
msgbox Route110_TrickHousePuzzle4_Text_CoraPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_Yuji::
trainerbattle_single TRAINER_YUJI, Route110_TrickHousePuzzle4_Text_YujiIntro, Route110_TrickHousePuzzle4_Text_YujiDefeat
msgbox Route110_TrickHousePuzzle4_Text_YujiPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_Paula::
trainerbattle_single TRAINER_PAULA, Route110_TrickHousePuzzle4_Text_PaulaIntro, Route110_TrickHousePuzzle4_Text_PaulaDefeat
msgbox Route110_TrickHousePuzzle4_Text_PaulaPostBattle, MSGBOX_AUTOCLOSE
end
.ifdef FRENCH
.include "data/maps/Route110_TrickHousePuzzle4/text_fr.inc"
.else
.ifdef ITALIAN
.include "data/maps/Route110_TrickHousePuzzle4/text_it.inc"
.else
.ifdef SPANISH
.include "data/maps/Route110_TrickHousePuzzle4/text_es.inc"
.else
.include "data/maps/Route110_TrickHousePuzzle4/text.inc"
.endif
.endif
.endif