2017-11-10 02:21:31 +01:00
|
|
|
TrainerHill_Roof_MapScripts:: @ 8268FA7
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, TrainerHill_Roof_MapScript1_2C8336
|
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Roof_MapScript2_2C8381
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_268FB2:: @ 8268FB2
|
2019-02-28 03:28:34 +01:00
|
|
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_12
|
2019-01-13 13:15:23 +01:00
|
|
|
special CallTrainerHillFunction
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-02-28 03:28:34 +01:00
|
|
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_1
|
2019-01-13 13:15:23 +01:00
|
|
|
special CallTrainerHillFunction
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, TrainerHill_Roof_EventScript_268FEA
|
|
|
|
case 1, TrainerHill_Roof_EventScript_268FF2
|
|
|
|
case 2, TrainerHill_Roof_EventScript_2690A8
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_268FEA:: @ 8268FEA
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268986, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_268FF2:: @ 8268FF2
|
2019-02-28 03:28:34 +01:00
|
|
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_2
|
2019-01-13 13:15:23 +01:00
|
|
|
special CallTrainerHillFunction
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, TrainerHill_Roof_EventScript_269020
|
|
|
|
case 1, TrainerHill_Roof_EventScript_269037
|
|
|
|
case 2, TrainerHill_Roof_EventScript_269054
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_269020:: @ 8269020
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
|
2017-12-22 08:46:19 +01:00
|
|
|
playfanfare MUS_FANFA1
|
2019-08-15 05:38:42 +02:00
|
|
|
message gText_ObtainedTheItem
|
2017-11-10 02:21:31 +01:00
|
|
|
waitfanfare
|
|
|
|
waitmessage
|
|
|
|
goto TrainerHill_Roof_EventScript_269054
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_269037:: @ 8269037
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
|
2019-08-15 05:38:42 +02:00
|
|
|
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268B07, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto TrainerHill_Roof_EventScript_269054
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_269054:: @ 8269054
|
2019-02-28 03:28:34 +01:00
|
|
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_3
|
2019-01-13 13:15:23 +01:00
|
|
|
special CallTrainerHillFunction
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, TrainerHill_Roof_EventScript_269082
|
|
|
|
case 1, TrainerHill_Roof_EventScript_269090
|
|
|
|
case 2, TrainerHill_Roof_EventScript_26909E
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_269082:: @ 8269082
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268B43, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto TrainerHill_Roof_EventScript_26909E
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_269090:: @ 8269090
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268C03, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto TrainerHill_Roof_EventScript_26909E
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_26909E:: @ 826909E
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268C31, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Roof_EventScript_2690A8:: @ 82690A8
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Roof_Text_268C31, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|