Remove address comments
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
@ Note: LOCALID_FARAWAY_ISLAND_MEW is a local id for this map used elsewhere. It's defined in event_objects.h
|
||||
|
||||
FarawayIsland_Interior_MapScripts:: @ 8267CFA
|
||||
FarawayIsland_Interior_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_RESUME, FarawayIsland_Interior_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, FarawayIsland_Interior_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FarawayIsland_Interior_OnFrame
|
||||
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, FarawayIsland_Interior_OnReturnToField
|
||||
.byte 0
|
||||
|
||||
FarawayIsland_Interior_OnReturnToField: @ 8267D0F
|
||||
FarawayIsland_Interior_OnReturnToField:
|
||||
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_TrySetMewAboveGrass
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_TrySetMewAboveGrass:: @ 8267D19
|
||||
FarawayIsland_Interior_EventScript_TrySetMewAboveGrass::
|
||||
specialvar VAR_RESULT, GetBattleOutcome
|
||||
compare VAR_RESULT, B_OUTCOME_WON
|
||||
goto_if_eq FarawayIsland_Interior_EventScript_SetMewAboveGrass
|
||||
@@ -23,39 +23,39 @@ FarawayIsland_Interior_EventScript_TrySetMewAboveGrass:: @ 8267D19
|
||||
goto_if_eq FarawayIsland_Interior_EventScript_SetMewAboveGrass
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_EventScript_SetMewAboveGrass:: @ 8267D4B
|
||||
FarawayIsland_Interior_EventScript_SetMewAboveGrass::
|
||||
setvar VAR_0x8004, 1
|
||||
special SetMewAboveGrass
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_OnResume: @ 8267D54
|
||||
FarawayIsland_Interior_OnResume:
|
||||
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_TryRemoveMew
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_TryRemoveMew:: @ 8267D5E
|
||||
FarawayIsland_Interior_EventScript_TryRemoveMew::
|
||||
specialvar VAR_RESULT, GetBattleOutcome
|
||||
compare VAR_RESULT, B_OUTCOME_CAUGHT
|
||||
goto_if_ne Common_EventScript_NopReturn
|
||||
removeobject VAR_LAST_TALKED
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_OnTransition: @ 8267D72
|
||||
FarawayIsland_Interior_OnTransition:
|
||||
setvar VAR_FARAWAY_ISLAND_STEP_COUNTER, 0
|
||||
setvar VAR_TEMP_1, 1
|
||||
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_TryShowMew
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_TryShowMew:: @ 8267D86
|
||||
FarawayIsland_Interior_EventScript_TryShowMew::
|
||||
goto_if_set FLAG_DEFEATED_MEW, Common_EventScript_NopReturn
|
||||
clearflag FLAG_HIDE_MEW
|
||||
setvar VAR_TEMP_1, 0
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_OnFrame: @ 8267D98
|
||||
FarawayIsland_Interior_OnFrame:
|
||||
map_script_2 VAR_TEMP_1, 0, FarawayIsland_Interior_EventScript_FindMew
|
||||
.2byte 0
|
||||
|
||||
FarawayIsland_Interior_EventScript_FindMew:: @ 8267DA2
|
||||
FarawayIsland_Interior_EventScript_FindMew::
|
||||
lockall
|
||||
playse SE_PIN
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, Common_Movement_ExclamationMark
|
||||
@@ -69,7 +69,7 @@ FarawayIsland_Interior_EventScript_FindMew:: @ 8267DA2
|
||||
releaseall
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewMoveAndHide: @ 8267DCE
|
||||
FarawayIsland_Interior_Movement_MewMoveAndHide:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -77,11 +77,11 @@ FarawayIsland_Interior_Movement_MewMoveAndHide: @ 8267DCE
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewAppear: @ 8267DD4
|
||||
FarawayIsland_Interior_Movement_MewAppear:
|
||||
set_visible
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewFloatUpNorth: @ 8267DD6
|
||||
FarawayIsland_Interior_Movement_MewFloatUpNorth:
|
||||
lock_facing_direction
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
@@ -90,7 +90,7 @@ FarawayIsland_Interior_Movement_MewFloatUpNorth: @ 8267DD6
|
||||
walk_in_place_down
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewFloatUpSouth: @ 8267DDD
|
||||
FarawayIsland_Interior_Movement_MewFloatUpSouth:
|
||||
lock_facing_direction
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
@@ -99,7 +99,7 @@ FarawayIsland_Interior_Movement_MewFloatUpSouth: @ 8267DDD
|
||||
walk_in_place_up
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewFloatUpWest: @ 8267DE4
|
||||
FarawayIsland_Interior_Movement_MewFloatUpWest:
|
||||
lock_facing_direction
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
@@ -108,7 +108,7 @@ FarawayIsland_Interior_Movement_MewFloatUpWest: @ 8267DE4
|
||||
walk_in_place_right
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_Movement_MewFloatUpEast: @ 8267DEB
|
||||
FarawayIsland_Interior_Movement_MewFloatUpEast:
|
||||
lock_facing_direction
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
@@ -117,7 +117,7 @@ FarawayIsland_Interior_Movement_MewFloatUpEast: @ 8267DEB
|
||||
walk_in_place_left
|
||||
step_end
|
||||
|
||||
FarawayIsland_Interior_EventScript_Mew:: @ 8267DF2
|
||||
FarawayIsland_Interior_EventScript_Mew::
|
||||
lock
|
||||
faceplayer
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewAppear
|
||||
@@ -159,38 +159,38 @@ FarawayIsland_Interior_EventScript_Mew:: @ 8267DF2
|
||||
release
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_MewDefeated:: @ 8267E96
|
||||
FarawayIsland_Interior_EventScript_MewDefeated::
|
||||
setflag FLAG_DEFEATED_MEW
|
||||
setvar VAR_0x8004, SPECIES_MEW
|
||||
goto Common_EventScript_LegendaryFlewAway
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_PlayerOrMewRan:: @ 8267EA4
|
||||
FarawayIsland_Interior_EventScript_PlayerOrMewRan::
|
||||
setvar VAR_0x8004, SPECIES_MEW
|
||||
goto Common_EventScript_LegendaryFlewAway
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_EventScript_FoundMewNorth:: @ 8267EAF
|
||||
FarawayIsland_Interior_EventScript_FoundMewNorth::
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewFloatUpNorth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_EventScript_FoundMewSouth:: @ 8267EBA
|
||||
FarawayIsland_Interior_EventScript_FoundMewSouth::
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewFloatUpSouth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_EventScript_FoundMewWest:: @ 8267EC5
|
||||
FarawayIsland_Interior_EventScript_FoundMewWest::
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewFloatUpWest
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_EventScript_FoundMewEast:: @ 8267ED0
|
||||
FarawayIsland_Interior_EventScript_FoundMewEast::
|
||||
applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewFloatUpEast
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_EventScript_HideMewWhenGrassCut:: @ 8267EDB
|
||||
FarawayIsland_Interior_EventScript_HideMewWhenGrassCut::
|
||||
lockall
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
setflag FLAG_HIDE_MEW
|
||||
@@ -201,5 +201,5 @@ FarawayIsland_Interior_EventScript_HideMewWhenGrassCut:: @ 8267EDB
|
||||
releaseall
|
||||
end
|
||||
|
||||
FarawayIsland_Interior_Text_TheFeelingOfBeingWatchedFaded: @ 8267EF1
|
||||
FarawayIsland_Interior_Text_TheFeelingOfBeingWatchedFaded:
|
||||
.string "The feeling of being watched faded…$"
|
||||
|
||||
Reference in New Issue
Block a user