mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-28 21:50:56 -05:00
43 lines
1.5 KiB
PHP
43 lines
1.5 KiB
PHP
Route110_TrickHousePuzzle8_MapScripts::
|
|
.byte 0
|
|
|
|
Route110_TrickHousePuzzle8_EventScript_Scroll::
|
|
lockall
|
|
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_8_STATE, 0, Route110_TrickHousePuzzle8_EventScript_FoundScroll
|
|
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
|
|
end
|
|
|
|
Route110_TrickHousePuzzle8_EventScript_FoundScroll::
|
|
setvar VAR_TRICK_HOUSE_PUZZLE_8_STATE, 1
|
|
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
|
|
end
|
|
|
|
Route110_TrickHousePuzzle8_EventScript_Vincent::
|
|
trainerbattle_single TRAINER_VINCENT, Route110_TrickHousePuzzle8_Text_VincentIntro, Route110_TrickHousePuzzle8_Text_VincentDefeat
|
|
msgbox Route110_TrickHousePuzzle8_Text_VincentPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route110_TrickHousePuzzle8_EventScript_Keira::
|
|
trainerbattle_single TRAINER_KEIRA, Route110_TrickHousePuzzle8_Text_KeiraIntro, Route110_TrickHousePuzzle8_Text_KeiraDefeat
|
|
msgbox Route110_TrickHousePuzzle8_Text_KeiraPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route110_TrickHousePuzzle8_EventScript_Leroy::
|
|
trainerbattle_single TRAINER_LEROY, Route110_TrickHousePuzzle8_Text_LeroyIntro, Route110_TrickHousePuzzle8_Text_LeroyDefeat
|
|
msgbox Route110_TrickHousePuzzle8_Text_LeroyPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/Route110_TrickHousePuzzle8/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/Route110_TrickHousePuzzle8/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/Route110_TrickHousePuzzle8/text_es.inc"
|
|
.else
|
|
.include "data/maps/Route110_TrickHousePuzzle8/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|