2017-11-10 02:21:31 +01:00
|
|
|
FarawayIsland_Interior_MapScripts:: @ 8267CFA
|
|
|
|
map_script 5, FarawayIsland_Interior_MapScript1_267D54
|
|
|
|
map_script 3, FarawayIsland_Interior_MapScript1_267D72
|
|
|
|
map_script 2, FarawayIsland_Interior_MapScript2_267D98
|
|
|
|
map_script 7, FarawayIsland_Interior_MapScript1_267D0F
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
|
|
|
|
checkflag FLAG_SYS_CTRL_OBJ_DELETE
|
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267D19
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267D19:: @ 8267D19
|
|
|
|
specialvar VAR_RESULT, sub_8138B80
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267D4B
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267D4B
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267D4B
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267D4B
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B
|
|
|
|
setvar VAR_0x8004, 1
|
|
|
|
special sub_81D4A90
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
|
|
|
|
checkflag FLAG_SYS_CTRL_OBJ_DELETE
|
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267D5E
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
|
|
|
|
specialvar VAR_RESULT, sub_8138B80
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 7
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_if 5, FarawayIsland_Interior_EventScript_27374E
|
|
|
|
removeobject VAR_LAST_TALKED
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
|
|
|
|
setvar VAR_0x403A, 0
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
checkflag FLAG_0x1CA
|
|
|
|
call_if 0, FarawayIsland_Interior_EventScript_267D86
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267D86:: @ 8267D86
|
|
|
|
checkflag FLAG_0x1C7
|
|
|
|
goto_eq FarawayIsland_Interior_EventScript_27374E
|
|
|
|
clearflag FLAG_0x2CE
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_MapScript2_267D98: @ 8267D98
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_1, 0, FarawayIsland_Interior_EventScript_267DA2
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267DA2:: @ 8267DA2
|
|
|
|
lockall
|
|
|
|
playse SE_PIN
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_272598
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_27259A
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DCE
|
|
|
|
waitmovement 0
|
|
|
|
moveobjectoffscreen 1
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DCE: @ 8267DCE
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_down
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DD4: @ 8267DD4
|
2018-06-14 01:19:19 +02:00
|
|
|
set_visible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DD6: @ 8267DD6
|
2018-06-14 01:19:19 +02:00
|
|
|
lock_facing_direction
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
unlock_facing_direction
|
|
|
|
walk_in_place_down
|
|
|
|
walk_in_place_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DDD: @ 8267DDD
|
2018-06-14 01:19:19 +02:00
|
|
|
lock_facing_direction
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
unlock_facing_direction
|
|
|
|
walk_in_place_up
|
|
|
|
walk_in_place_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DE4: @ 8267DE4
|
2018-06-14 01:19:19 +02:00
|
|
|
lock_facing_direction
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
unlock_facing_direction
|
|
|
|
walk_in_place_right
|
|
|
|
walk_in_place_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Movement_267DEB: @ 8267DEB
|
2018-06-14 01:19:19 +02:00
|
|
|
lock_facing_direction
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
unlock_facing_direction
|
|
|
|
walk_in_place_left
|
|
|
|
walk_in_place_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DD4
|
|
|
|
waitmovement 0
|
|
|
|
setvar VAR_0x8004, 0
|
|
|
|
special sub_81D4A90
|
|
|
|
message FarawayIsland_Interior_Text_2C6DFF
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_MEW, 2
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267EAF
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267EBA
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267EC5
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, FarawayIsland_Interior_EventScript_267ED0
|
|
|
|
special sub_81D4BEC
|
|
|
|
delay 40
|
|
|
|
waitmoncry
|
|
|
|
setvar VAR_0x8004, 151
|
|
|
|
setvar VAR_0x8005, 30
|
|
|
|
setvar VAR_0x8006, 0
|
2018-02-09 15:55:12 +01:00
|
|
|
special CreateObedientEnemyMon
|
2017-11-10 02:21:31 +01:00
|
|
|
setflag FLAG_SYS_CTRL_OBJ_DELETE
|
2017-11-28 23:02:09 +01:00
|
|
|
special BattleSetup_StartLegendaryBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
clearflag FLAG_SYS_CTRL_OBJ_DELETE
|
|
|
|
specialvar VAR_RESULT, sub_8138B80
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267E96
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267EA4
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267EA4
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq FarawayIsland_Interior_EventScript_267EA4
|
|
|
|
setflag FLAG_0x1CA
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267E96:: @ 8267E96
|
|
|
|
setflag FLAG_0x1C7
|
|
|
|
setvar VAR_0x8004, 151
|
|
|
|
goto FarawayIsland_Interior_EventScript_273776
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267EA4:: @ 8267EA4
|
|
|
|
setvar VAR_0x8004, 151
|
|
|
|
goto FarawayIsland_Interior_EventScript_273776
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267EAF:: @ 8267EAF
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DD6
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267EBA:: @ 8267EBA
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DDD
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267EC5:: @ 8267EC5
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DE4
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
FarawayIsland_Interior_EventScript_267ED0:: @ 8267ED0
|
|
|
|
applymovement 1, FarawayIsland_Interior_Movement_267DEB
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2017-11-10 09:24:21 +01:00
|
|
|
FarawayIsland_Interior_EventScript_267EDB:: @ 8267EDB
|
|
|
|
lockall
|
|
|
|
fadescreenswapbuffers 1
|
|
|
|
setflag FLAG_0x2CE
|
|
|
|
removeobject 1
|
|
|
|
fadescreenswapbuffers 0
|
|
|
|
msgbox FarawayIsland_Interior_Text_267EF1, 4
|
|
|
|
closemessage
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
FarawayIsland_Interior_Text_267EF1: @ 8267EF1
|
|
|
|
.string "The feeling of being watched faded…$"
|