Merge pull request #245 from GriffinRichards/doc-rockets

Document Team Rocket scripts
This commit is contained in:
PikalaxALT
2020-02-16 12:05:13 -05:00
committed by GitHub
61 changed files with 1077 additions and 1098 deletions
+32 -32
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_RocketWarehouse_EventScript_163FE6", "script": "FiveIsland_RocketWarehouse_EventScript_Grunt2",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_RocketWarehouse_EventScript_163FFD", "script": "FiveIsland_RocketWarehouse_EventScript_Grunt3",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_RocketWarehouse_EventScript_164087", "script": "FiveIsland_RocketWarehouse_EventScript_Admin1",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_RocketWarehouse_EventScript_164014", "script": "FiveIsland_RocketWarehouse_EventScript_Admin2",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_RocketWarehouse_EventScript_164070", "script": "FiveIsland_RocketWarehouse_EventScript_Grunt1",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F93", "script": "FiveIsland_RocketWarehouse_EventScript_Gideon",
"flag": "0" "flag": "0"
}, },
{ {
@@ -161,7 +161,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE", "var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
"var_value": 0, "var_value": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F81" "script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -170,7 +170,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE", "var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
"var_value": 0, "var_value": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F81" "script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -179,7 +179,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE", "var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
"var_value": 0, "var_value": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F81" "script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
} }
], ],
"bg_events": [ "bg_events": [
@@ -188,14 +188,14 @@
"x": 11, "x": 11,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_3", "type": "bg_event_type_3",
"x": 26, "x": 26,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F78" "script": "FiveIsland_RocketWarehouse_EventScript_Computer"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
@@ -222,147 +222,147 @@
"x": 12, "x": 12,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 10, "x": 10,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 9, "x": 9,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 8, "x": 8,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 7, "x": 7,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 11, "x": 11,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 10, "x": 10,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 11, "x": 11,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 10, "x": 10,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 8, "x": 8,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 7, "x": 7,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 8, "x": 8,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 7, "x": 7,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 5, "x": 5,
"y": 3, "y": 3,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 4, "x": 4,
"y": 3, "y": 3,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 5, "x": 5,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 4, "x": 4,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 3, "x": 3,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 2, "x": 2,
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 2, "x": 2,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 3, "x": 3,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A" "script": "FiveIsland_RocketWarehouse_EventScript_Cage"
} }
] ]
} }
@@ -1,3 +1,12 @@
.equ LOCALID_GRUNT1, 5
.equ LOCALID_GRUNT2, 1
.equ LOCALID_GRUNT3, 2
.equ LOCALID_ADMIN1, 3
.equ LOCALID_ADMIN2, 4
.equ PLAYER_X_POS, VAR_0x8004
.equ PLAYER_Y_POS, VAR_0x8005
FiveIsland_RocketWarehouse_MapScripts:: @ 8163F2E FiveIsland_RocketWarehouse_MapScripts:: @ 8163F2E
map_script MAP_SCRIPT_ON_LOAD, FiveIsland_RocketWarehouse_OnLoad map_script MAP_SCRIPT_ON_LOAD, FiveIsland_RocketWarehouse_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, FiveIsland_RocketWarehouse_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, FiveIsland_RocketWarehouse_OnTransition
@@ -8,82 +17,82 @@ FiveIsland_RocketWarehouse_OnTransition:: @ 8163F39
end end
FiveIsland_RocketWarehouse_OnLoad:: @ 8163F3D FiveIsland_RocketWarehouse_OnLoad:: @ 8163F3D
call_if_defeated TRAINER_TEAM_ROCKET_ADMIN, EventScript_163F47 call_if_defeated TRAINER_TEAM_ROCKET_ADMIN, FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry
end end
EventScript_163F47:: @ 8163F47 FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry:: @ 8163F47
setmetatile 26, 20, 672, 0 setmetatile 26, 20, METATILE_Hideout_Arrow_Up, 0
setmetatile 27, 20, 672, 0 setmetatile 27, 20, METATILE_Hideout_Arrow_Up, 0
return return
FiveIsland_RocketWarehouse_EventScript_163F5A:: @ 8163F5A FiveIsland_RocketWarehouse_EventScript_Cage:: @ 8163F5A
lockall lockall
goto_if_set FLAG_DEFEATED_ROCKETS_IN_WAREHOUSE, EventScript_163F6E goto_if_set FLAG_DEFEATED_ROCKETS_IN_WAREHOUSE, FiveIsland_RocketWarehouse_EventScript_CageUnlocked
msgbox gUnknown_817B4E3 msgbox FiveIsland_RocketWarehouse_Text_ManyMonsLockedInPen
releaseall releaseall
end end
EventScript_163F6E:: @ 8163F6E FiveIsland_RocketWarehouse_EventScript_CageUnlocked:: @ 8163F6E
msgbox gUnknown_817B512 msgbox FiveIsland_RocketWarehouse_Text_PenUnlockedMonsFled
releaseall releaseall
end end
FiveIsland_RocketWarehouse_EventScript_163F78:: @ 8163F78 FiveIsland_RocketWarehouse_EventScript_Computer:: @ 8163F78
msgbox gUnknown_817BB15, MSGBOX_SIGN msgbox FiveIsland_RocketWarehouse_Text_ReportWithGraphsAndText, MSGBOX_SIGN
end end
FiveIsland_RocketWarehouse_EventScript_163F81:: @ 8163F81 FiveIsland_RocketWarehouse_EventScript_Admin2Trigger:: @ 8163F81
lockall lockall
applymovement 4, Movement_WalkInPlaceFastestLeft applymovement LOCALID_ADMIN2, Movement_WalkInPlaceFastestLeft
waitmovement 0 waitmovement 0
setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1 setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1
releaseall releaseall
end end
FiveIsland_RocketWarehouse_EventScript_163F93:: @ 8163F93 FiveIsland_RocketWarehouse_EventScript_Gideon:: @ 8163F93
trainerbattle_single TRAINER_SCIENTIST_GIDEON, Text_17BBAF, Text_17BC55, EventScript_163FCD trainerbattle_single TRAINER_SCIENTIST_GIDEON, FiveIsland_RocketWarehouse_Text_GideonIntro, FiveIsland_RocketWarehouse_Text_GideonDefeat, FiveIsland_RocketWarehouse_EventScript_DefeatedGideon
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_163FB7 goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, FiveIsland_RocketWarehouse_EventScript_MentionGiovannisKid
msgbox gUnknown_817BCA3, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_GetLostLeaveMeBe, MSGBOX_AUTOCLOSE
end end
EventScript_163FB7:: @ 8163FB7 FiveIsland_RocketWarehouse_EventScript_MentionGiovannisKid:: @ 8163FB7
famechecker FAMECHECKER_GIOVANNI, 5 famechecker FAMECHECKER_GIOVANNI, 5
msgbox gUnknown_817BCD7, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_GiovannisKidHasRedHair, MSGBOX_AUTOCLOSE
end end
EventScript_163FCD:: @ 8163FCD FiveIsland_RocketWarehouse_EventScript_DefeatedGideon:: @ 8163FCD
msgbox gUnknown_817BC6C msgbox FiveIsland_RocketWarehouse_Text_GideonPostBattle
setflag FLAG_RECOVERED_SAPPHIRE setflag FLAG_RECOVERED_SAPPHIRE
giveitem ITEM_SAPPHIRE giveitem ITEM_SAPPHIRE
release release
end end
FiveIsland_RocketWarehouse_EventScript_163FE6:: @ 8163FE6 FiveIsland_RocketWarehouse_EventScript_Grunt2:: @ 8163FE6
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_47, Text_17B54D, Text_17B585 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_47, FiveIsland_RocketWarehouse_Text_Grunt2Intro, FiveIsland_RocketWarehouse_Text_Grunt2Defeat
msgbox gUnknown_817B5A6, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
FiveIsland_RocketWarehouse_EventScript_163FFD:: @ 8163FFD FiveIsland_RocketWarehouse_EventScript_Grunt3:: @ 8163FFD
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_48, Text_17B677, Text_17B6D9 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_48, FiveIsland_RocketWarehouse_Text_Grunt3Intro, FiveIsland_RocketWarehouse_Text_Grunt3Defeat
msgbox gUnknown_817B6EF, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end end
FiveIsland_RocketWarehouse_EventScript_164014:: @ 8164014 FiveIsland_RocketWarehouse_EventScript_Admin2:: @ 8164014
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN_2, Text_17B8DA, Text_17B9FB, EventScript_16402F trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN_2, FiveIsland_RocketWarehouse_Text_Admin2Intro, FiveIsland_RocketWarehouse_Text_Admin2Defeat, FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin2
msgbox gUnknown_817BA64, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_Admin2PostBattle, MSGBOX_AUTOCLOSE
end end
EventScript_16402F:: @ 816402F FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin2:: @ 816402F
getplayerxy VAR_0x8004, VAR_0x8005 getplayerxy PLAYER_X_POS, PLAYER_Y_POS
compare VAR_0x8004, 24 compare PLAYER_X_POS, 24
call_if_le EventScript_164065 call_if_le FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin2
msgbox gUnknown_817BA64 msgbox FiveIsland_RocketWarehouse_Text_Admin2PostBattle
closemessage closemessage
fadescreen FADE_TO_BLACK fadescreen FADE_TO_BLACK
removeobject 1 removeobject LOCALID_GRUNT2
removeobject 2 removeobject LOCALID_GRUNT3
removeobject 4 removeobject LOCALID_ADMIN2
removeobject 3 removeobject LOCALID_ADMIN1
setflag FLAG_HIDE_FIVE_ISLAND_ROCKETS setflag FLAG_HIDE_FIVE_ISLAND_ROCKETS
fadescreen FADE_FROM_BLACK fadescreen FADE_FROM_BLACK
setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1 setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1
@@ -91,91 +100,91 @@ EventScript_16402F:: @ 816402F
release release
end end
EventScript_164065:: @ 8164065 FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin2:: @ 8164065
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
return return
FiveIsland_RocketWarehouse_EventScript_164070:: @ 8164070 FiveIsland_RocketWarehouse_EventScript_Grunt1:: @ 8164070
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_42, Text_17B5D6, Text_17B62F trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_42, FiveIsland_RocketWarehouse_Text_Grunt1Intro, FiveIsland_RocketWarehouse_Text_Grunt1Defeat
msgbox gUnknown_817B642, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
FiveIsland_RocketWarehouse_EventScript_164087:: @ 8164087 FiveIsland_RocketWarehouse_EventScript_Admin1:: @ 8164087
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN, Text_17B72D, Text_17B79C, EventScript_1640A2 trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN, FiveIsland_RocketWarehouse_Text_Admin1Intro, FiveIsland_RocketWarehouse_Text_Admin1Defeat, FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin1
msgbox gUnknown_817B7FA, MSGBOX_AUTOCLOSE msgbox FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough, MSGBOX_AUTOCLOSE
end end
EventScript_1640A2:: @ 81640A2 FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin1:: @ 81640A2
getplayerxy VAR_0x8004, VAR_0x8005 getplayerxy PLAYER_X_POS, PLAYER_Y_POS
specialvar VAR_RESULT, GetPlayerFacingDirection specialvar VAR_RESULT, GetPlayerFacingDirection
compare VAR_RESULT, DIR_NORTH compare VAR_RESULT, DIR_NORTH
call_if_eq EventScript_16412E call_if_eq FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin1
msgbox gUnknown_817B7AE msgbox FiveIsland_RocketWarehouse_Text_Admin1PostBattle
closemessage closemessage
compare VAR_0x8004, 24 compare PLAYER_X_POS, 24
call_if_le EventScript_164144 call_if_le FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitchFar
compare VAR_0x8004, 25 compare PLAYER_X_POS, 25
call_if_eq EventScript_16414F call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitch
compare VAR_0x8004, 26 compare PLAYER_X_POS, 26
call_if_eq EventScript_16415A call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch
compare VAR_0x8004, 27 compare PLAYER_X_POS, 27
call_if_eq EventScript_16415A call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch
playse SE_PIN playse SE_PIN
call EventScript_163F47 call FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry
special DrawWholeMapView special DrawWholeMapView
waitse waitse
compare VAR_0x8004, 24 compare PLAYER_X_POS, 24
call_if_le EventScript_164165 call_if_le FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
compare VAR_0x8004, 25 compare PLAYER_X_POS, 25
call_if_eq EventScript_164165 call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
compare VAR_0x8004, 26 compare PLAYER_X_POS, 26
call_if_eq EventScript_164165 call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
compare VAR_0x8004, 27 compare PLAYER_X_POS, 27
call_if_eq EventScript_164170 call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerDown
msgbox gUnknown_817B7FA msgbox FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough
release release
end end
EventScript_16412E:: @ 816412E FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin1:: @ 816412E
compare VAR_0x8004, 27 compare PLAYER_X_POS, 27
goto_if_eq EventScript_Return goto_if_eq EventScript_Return
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
return return
EventScript_164144:: @ 8164144 FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitchFar:: @ 8164144
applymovement 3, Movement_16417B applymovement LOCALID_ADMIN1, FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitchFar
waitmovement 0 waitmovement 0
return return
EventScript_16414F:: @ 816414F FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitch:: @ 816414F
applymovement 3, Movement_16417F applymovement LOCALID_ADMIN1, FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitch
waitmovement 0 waitmovement 0
return return
EventScript_16415A:: @ 816415A FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch:: @ 816415A
applymovement 3, Movement_WalkInPlaceFastestUp applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
return return
EventScript_164165:: @ 8164165 FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft:: @ 8164165
applymovement 3, Movement_WalkInPlaceFastestLeft applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestLeft
waitmovement 0 waitmovement 0
return return
EventScript_164170:: @ 8164170 FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerDown:: @ 8164170
applymovement 3, Movement_WalkInPlaceFastestDown applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
return return
Movement_16417B:: @ 816417B FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitchFar:: @ 816417B
walk_right walk_right
walk_right walk_right
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
Movement_16417F:: @ 816417F FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitch:: @ 816417F
walk_right walk_right
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
+24 -24
View File
@@ -1,65 +1,65 @@
gUnknown_817B4E3:: @ 817B4E3 FiveIsland_RocketWarehouse_Text_ManyMonsLockedInPen:: @ 817B4E3
.string "There are many POKéMON locked\n" .string "There are many POKéMON locked\n"
.string "away in the pen…$" .string "away in the pen…$"
gUnknown_817B512:: @ 817B512 FiveIsland_RocketWarehouse_Text_PenUnlockedMonsFled:: @ 817B512
.string "The pen door is unlocked.\n" .string "The pen door is unlocked.\n"
.string "The POKéMON appear to have fled.$" .string "The POKéMON appear to have fled.$"
Text_17B54D:: @ 817B54D FiveIsland_RocketWarehouse_Text_Grunt2Intro:: @ 817B54D
.string "Did you come here knowing it's\n" .string "Did you come here knowing it's\n"
.string "TEAM ROCKET's WAREHOUSE?$" .string "TEAM ROCKET's WAREHOUSE?$"
Text_17B585:: @ 817B585 FiveIsland_RocketWarehouse_Text_Grunt2Defeat:: @ 817B585
.string "What do you think you're doing?!$" .string "What do you think you're doing?!$"
gUnknown_817B5A6:: @ 817B5A6 FiveIsland_RocketWarehouse_Text_Grunt2PostBattle:: @ 817B5A6
.string "TEAM ROCKET broke up?\n" .string "TEAM ROCKET broke up?\n"
.string "What planet are you from?$" .string "What planet are you from?$"
Text_17B5D6:: @ 817B5D6 FiveIsland_RocketWarehouse_Text_Grunt1Intro:: @ 817B5D6
.string "Oh, now your POKéMON look strong.\n" .string "Oh, now your POKéMON look strong.\n"
.string "You're willing to sell them?\p" .string "You're willing to sell them?\p"
.string "Oh?\n" .string "Oh?\n"
.string "You wanted to battle?$" .string "You wanted to battle?$"
Text_17B62F:: @ 817B62F FiveIsland_RocketWarehouse_Text_Grunt1Defeat:: @ 817B62F
.string "Oh, but…\n" .string "Oh, but…\n"
.string "Too much!$" .string "Too much!$"
gUnknown_817B642:: @ 817B642 FiveIsland_RocketWarehouse_Text_Grunt1PostBattle:: @ 817B642
.string "We can give you a great price.\n" .string "We can give you a great price.\n"
.string "Sell us your POKéMON!$" .string "Sell us your POKéMON!$"
Text_17B677:: @ 817B677 FiveIsland_RocketWarehouse_Text_Grunt3Intro:: @ 817B677
.string "I got word about you from the\n" .string "I got word about you from the\n"
.string "others.\p" .string "others.\p"
.string "But there's no way a kid like you'd\n" .string "But there's no way a kid like you'd\n"
.string "know our BOSS GIOVANNI!$" .string "know our BOSS GIOVANNI!$"
Text_17B6D9:: @ 817B6D9 FiveIsland_RocketWarehouse_Text_Grunt3Defeat:: @ 817B6D9
.string "Don't…you…dare…laugh…$" .string "Don't…you…dare…laugh…$"
gUnknown_817B6EF:: @ 817B6EF FiveIsland_RocketWarehouse_Text_Grunt3PostBattle:: @ 817B6EF
.string "Don't mess in the doings of adults,\n" .string "Don't mess in the doings of adults,\n"
.string "you jumped-up pip-squeak!$" .string "you jumped-up pip-squeak!$"
Text_17B72D:: @ 817B72D FiveIsland_RocketWarehouse_Text_Admin1Intro:: @ 817B72D
.string "I don't know or care if what I'm\n" .string "I don't know or care if what I'm\n"
.string "doing is right or wrong…\p" .string "doing is right or wrong…\p"
.string "I just put my faith in GIOVANNI\n" .string "I just put my faith in GIOVANNI\n"
.string "and do as I am told.$" .string "and do as I am told.$"
Text_17B79C:: @ 817B79C FiveIsland_RocketWarehouse_Text_Admin1Defeat:: @ 817B79C
.string "I…\n" .string "I…\n"
.string "I'm shattered…$" .string "I'm shattered…$"
gUnknown_817B7AE:: @ 817B7AE FiveIsland_RocketWarehouse_Text_Admin1PostBattle:: @ 817B7AE
.string "You're doing things according to\n" .string "You're doing things according to\n"
.string "your beliefs and morals.\p" .string "your beliefs and morals.\p"
.string "I understand now…$" .string "I understand now…$"
gUnknown_817B7FA:: @ 817B7FA FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough:: @ 817B7FA
.string "I've made it so you can come back\n" .string "I've made it so you can come back\n"
.string "in through there.\p" .string "in through there.\p"
.string "Why don't you go get rested and\n" .string "Why don't you go get rested and\n"
@@ -69,7 +69,7 @@ gUnknown_817B7FA:: @ 817B7FA
.string "You'd better steel yourself for one\n" .string "You'd better steel yourself for one\n"
.string "harsh challenge.$" .string "harsh challenge.$"
Text_17B8DA:: @ 817B8DA FiveIsland_RocketWarehouse_Text_Admin2Intro:: @ 817B8DA
.string "That's quite enough of you \n" .string "That's quite enough of you \n"
.string "playing the hero, kid.\p" .string "playing the hero, kid.\p"
.string "Spreading lies about how TEAM\n" .string "Spreading lies about how TEAM\n"
@@ -81,7 +81,7 @@ Text_17B8DA:: @ 817B8DA
.string "And now, I'll show you how scary\n" .string "And now, I'll show you how scary\n"
.string "an angry adult can be!$" .string "an angry adult can be!$"
Text_17B9FB:: @ 817B9FB FiveIsland_RocketWarehouse_Text_Admin2Defeat:: @ 817B9FB
.string "Urgh…\n" .string "Urgh…\n"
.string "You were too strong…\p" .string "You were too strong…\p"
.string "\n" .string "\n"
@@ -89,7 +89,7 @@ Text_17B9FB:: @ 817B9FB
.string "So it's true?\n" .string "So it's true?\n"
.string "TEAM ROCKET really has disbanded?$" .string "TEAM ROCKET really has disbanded?$"
gUnknown_817BA64:: @ 817BA64 FiveIsland_RocketWarehouse_Text_Admin2PostBattle:: @ 817BA64
.string "We will abandon this WAREHOUSE…\p" .string "We will abandon this WAREHOUSE…\p"
.string "But don't think this is over.\n" .string "But don't think this is over.\n"
.string "I won't let this be the end.\p" .string "I won't let this be the end.\p"
@@ -98,7 +98,7 @@ gUnknown_817BA64:: @ 817BA64
.string "I will…\p" .string "I will…\p"
.string "Until then, farewell!$" .string "Until then, farewell!$"
gUnknown_817BB15:: @ 817BB15 FiveIsland_RocketWarehouse_Text_ReportWithGraphsAndText:: @ 817BB15
.string "A report with graphs and text is on\n" .string "A report with graphs and text is on\n"
.string "the PC monitor.\p" .string "the PC monitor.\p"
.string "“The Influence of Magnetic Waves\n" .string "“The Influence of Magnetic Waves\n"
@@ -106,7 +106,7 @@ gUnknown_817BB15:: @ 817BB15
.string "… … … … … …\p" .string "… … … … … …\p"
.string "It's too difficult to understand…$" .string "It's too difficult to understand…$"
Text_17BBAF:: @ 817BBAF FiveIsland_RocketWarehouse_Text_GideonIntro:: @ 817BBAF
.string "I almost managed to sell the\n" .string "I almost managed to sell the\n"
.string "SAPPHIRE for huge money…\p" .string "SAPPHIRE for huge money…\p"
.string "Then, you just had to come along\n" .string "Then, you just had to come along\n"
@@ -114,19 +114,19 @@ Text_17BBAF:: @ 817BBAF
.string "Fufu… Fufufufu…\n" .string "Fufu… Fufufufu…\n"
.string "There's no forgiveness for you!$" .string "There's no forgiveness for you!$"
Text_17BC55:: @ 817BC55 FiveIsland_RocketWarehouse_Text_GideonDefeat:: @ 817BC55
.string "Gah! Darn!\n" .string "Gah! Darn!\n"
.string "Darn! Darn!$" .string "Darn! Darn!$"
gUnknown_817BC6C:: @ 817BC6C FiveIsland_RocketWarehouse_Text_GideonPostBattle:: @ 817BC6C
.string "If I can't sell it, it's worthless!\n" .string "If I can't sell it, it's worthless!\n"
.string "Go ahead, take it!$" .string "Go ahead, take it!$"
gUnknown_817BCA3:: @ 817BCA3 FiveIsland_RocketWarehouse_Text_GetLostLeaveMeBe:: @ 817BCA3
.string "What do you want now?\n" .string "What do you want now?\n"
.string "Go on, get lost, leave me be.$" .string "Go on, get lost, leave me be.$"
gUnknown_817BCD7:: @ 817BCD7 FiveIsland_RocketWarehouse_Text_GiovannisKidHasRedHair:: @ 817BCD7
.string "What, you again?\p" .string "What, you again?\p"
.string "You… You're not GIOVANNI's kid,\n" .string "You… You're not GIOVANNI's kid,\n"
.string "are you?\p" .string "are you?\p"
+9 -9
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "MtMoon_1F_EventScript_16063C", "script": "MtMoon_1F_EventScript_Iris",
"flag": "0" "flag": "0"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "MtMoon_1F_EventScript_160681", "script": "MtMoon_1F_EventScript_Robby",
"flag": "0" "flag": "0"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_1F_EventScript_160653", "script": "MtMoon_1F_EventScript_Jovan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 3, "movement_range_y": 3,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "MtMoon_1F_EventScript_160625", "script": "MtMoon_1F_EventScript_Miriam",
"flag": "0" "flag": "0"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_1F_EventScript_16066A", "script": "MtMoon_1F_EventScript_Kent",
"flag": "0" "flag": "0"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_1F_EventScript_16060E", "script": "MtMoon_1F_EventScript_Josh",
"flag": "0" "flag": "0"
}, },
{ {
@@ -101,7 +101,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "MtMoon_1F_EventScript_1605F7", "script": "MtMoon_1F_EventScript_Macros",
"flag": "0" "flag": "0"
}, },
{ {
@@ -192,7 +192,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_1F_EventScript_1ACE03", "script": "MtMoon_1F_EventScript_BaldingMan",
"flag": "0" "flag": "0"
} }
], ],
@@ -233,7 +233,7 @@
"x": 19, "x": 19,
"y": 26, "y": 26,
"elevation": 0, "elevation": 0,
"script": "MtMoon_1F_EventScript_1605EE" "script": "MtMoon_1F_EventScript_ZubatSign"
} }
] ]
} }
+23 -23
View File
@@ -6,41 +6,41 @@ MtMoon_1F_OnTransition:: @ 81605EA
setworldmapflag FLAG_WORLD_MAP_MT_MOON_1F setworldmapflag FLAG_WORLD_MAP_MT_MOON_1F
end end
MtMoon_1F_EventScript_1605EE:: @ 81605EE MtMoon_1F_EventScript_ZubatSign:: @ 81605EE
msgbox gUnknown_8172AE0, MSGBOX_SIGN msgbox MtMoon_1F_Text_ZubatIsABloodsucker, MSGBOX_SIGN
end end
MtMoon_1F_EventScript_1605F7:: @ 81605F7 MtMoon_1F_EventScript_Macros:: @ 81605F7
trainerbattle_single TRAINER_HIKER_MARCOS, Text_17279D, Text_1727CB trainerbattle_single TRAINER_HIKER_MARCOS, MtMoon_1F_Text_MarcosIntro, MtMoon_1F_Text_MarcosDefeat
msgbox gUnknown_81727DF, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_MarcosPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_16060E:: @ 816060E MtMoon_1F_EventScript_Josh:: @ 816060E
trainerbattle_single TRAINER_YOUNGSTER_JOSH, Text_17281D, Text_172844 trainerbattle_single TRAINER_YOUNGSTER_JOSH, MtMoon_1F_Text_JoshIntro, MtMoon_1F_Text_JoshDefeat
msgbox gUnknown_8172863, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_JoshPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_160625:: @ 8160625 MtMoon_1F_EventScript_Miriam:: @ 8160625
trainerbattle_single TRAINER_LASS_MIRIAM, Text_172896, Text_1728C3 trainerbattle_single TRAINER_LASS_MIRIAM, MtMoon_1F_Text_MiriamIntro, MtMoon_1F_Text_MiriamDefeat
msgbox gUnknown_81728D2, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_MiriamPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_16063C:: @ 816063C MtMoon_1F_EventScript_Iris:: @ 816063C
trainerbattle_single TRAINER_LASS_IRIS, Text_172972, Text_1729A4 trainerbattle_single TRAINER_LASS_IRIS, MtMoon_1F_Text_IrisIntro, MtMoon_1F_Text_IrisDefeat
msgbox gUnknown_81729AC, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_160653:: @ 8160653 MtMoon_1F_EventScript_Jovan:: @ 8160653
trainerbattle_single TRAINER_SUPER_NERD_JOVAN, Text_17290B, Text_172927 trainerbattle_single TRAINER_SUPER_NERD_JOVAN, MtMoon_1F_Text_JovanIntro, MtMoon_1F_Text_JovanDefeat
msgbox gUnknown_817293C, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_JovanPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_16066A:: @ 816066A MtMoon_1F_EventScript_Kent:: @ 816066A
trainerbattle_single TRAINER_BUG_CATCHER_KENT, Text_1729EA, Text_172A1A trainerbattle_single TRAINER_BUG_CATCHER_KENT, MtMoon_1F_Text_KentIntro, MtMoon_1F_Text_KentDefeat
msgbox gUnknown_8172A26, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_1F_EventScript_160681:: @ 8160681 MtMoon_1F_EventScript_Robby:: @ 8160681
trainerbattle_single TRAINER_BUG_CATCHER_ROBBY, Text_172A55, Text_172A8F trainerbattle_single TRAINER_BUG_CATCHER_ROBBY, MtMoon_1F_Text_RobbyIntro, MtMoon_1F_Text_RobbyDefeat
msgbox gUnknown_8172A97, MSGBOX_AUTOCLOSE msgbox MtMoon_1F_Text_RobbyPostBattle, MSGBOX_AUTOCLOSE
end end
+27 -22
View File
@@ -1,87 +1,92 @@
Text_17279D:: @ 817279D MtMoon_1F_Text_MarcosIntro:: @ 817279D
.string "WHOA!\n" .string "WHOA!\n"
.string "You shocked me!\l" .string "You shocked me!\l"
.string "…Oh, you're just a kid!$" .string "…Oh, you're just a kid!$"
Text_1727CB:: @ 81727CB MtMoon_1F_Text_MarcosDefeat:: @ 81727CB
.string "Wow!\n" .string "Wow!\n"
.string "Shocked again!$" .string "Shocked again!$"
gUnknown_81727DF:: @ 81727DF MtMoon_1F_Text_MarcosPostBattle:: @ 81727DF
.string "Kids like you shouldn't be\n" .string "Kids like you shouldn't be\n"
.string "wandering around here in the dark.$" .string "wandering around here in the dark.$"
Text_17281D:: @ 817281D MtMoon_1F_Text_JoshIntro:: @ 817281D
.string "Did you come to explore the cave,\n" .string "Did you come to explore the cave,\n"
.string "too?$" .string "too?$"
Text_172844:: @ 8172844 MtMoon_1F_Text_JoshDefeat:: @ 8172844
.string "Losing stinks!\n" .string "Losing stinks!\n"
.string "It's so uncool.$" .string "It's so uncool.$"
gUnknown_8172863:: @ 8172863 MtMoon_1F_Text_JoshPostBattle:: @ 8172863
.string "I came all the way down here to\n" .string "I came all the way down here to\n"
.string "show off to girls.$" .string "show off to girls.$"
Text_172896:: @ 8172896 MtMoon_1F_Text_MiriamIntro:: @ 8172896
.string "Wow! It's way bigger in here than\n" .string "Wow! It's way bigger in here than\n"
.string "I thought!$" .string "I thought!$"
Text_1728C3:: @ 81728C3 MtMoon_1F_Text_MiriamDefeat:: @ 81728C3
.string "Oh!\n" .string "Oh!\n"
.string "I lost it!$" .string "I lost it!$"
gUnknown_81728D2:: @ 81728D2 MtMoon_1F_Text_MiriamPostBattle:: @ 81728D2
.string "How do you get out of here?\n" .string "How do you get out of here?\n"
.string "It's so big, I may get lost.$" .string "It's so big, I may get lost.$"
Text_17290B:: @ 817290B MtMoon_1F_Text_JovanIntro:: @ 817290B
.string "What!\n" .string "What!\n"
.string "Don't sneak up on me!$" .string "Don't sneak up on me!$"
Text_172927:: @ 8172927 MtMoon_1F_Text_JovanDefeat:: @ 8172927
.string "My POKéMON won't do!$" .string "My POKéMON won't do!$"
gUnknown_817293C:: @ 817293C MtMoon_1F_Text_JovanPostBattle:: @ 817293C
.string "I have to find stronger POKéMON.\n" .string "I have to find stronger POKéMON.\n"
.string "Where might they be?$" .string "Where might they be?$"
Text_172972:: @ 8172972 MtMoon_1F_Text_IrisIntro:: @ 8172972
.string "What?\n" .string "What?\n"
.string "I'm waiting for my friends to find\l" .string "I'm waiting for my friends to find\l"
.string "me here.$" .string "me here.$"
Text_1729A4:: @ 81729A4 MtMoon_1F_Text_IrisDefeat:: @ 81729A4
.string "I lost?$" .string "I lost?$"
gUnknown_81729AC:: @ 81729AC MtMoon_1F_Text_IrisPostBattle:: @ 81729AC
.string "I came because I heard there are\n" .string "I came because I heard there are\n"
.string "some very rare fossils here.$" .string "some very rare fossils here.$"
Text_1729EA:: @ 81729EA MtMoon_1F_Text_KentIntro:: @ 81729EA
.string "Suspicious men are in the cave.\n" .string "Suspicious men are in the cave.\n"
.string "What about you?$" .string "What about you?$"
Text_172A1A:: @ 8172A1A MtMoon_1F_Text_KentDefeat:: @ 8172A1A
.string "You got me!$" .string "You got me!$"
gUnknown_8172A26:: @ 8172A26 MtMoon_1F_Text_KentPostBattle:: @ 8172A26
.string "I saw them!\n" .string "I saw them!\n"
.string "I'm sure they're from TEAM ROCKET!$" .string "I'm sure they're from TEAM ROCKET!$"
Text_172A55:: @ 8172A55 MtMoon_1F_Text_RobbyIntro:: @ 8172A55
.string "You need to go through this cave\n" .string "You need to go through this cave\n"
.string "to get to CERULEAN CITY.$" .string "to get to CERULEAN CITY.$"
Text_172A8F:: @ 8172A8F MtMoon_1F_Text_RobbyDefeat:: @ 8172A8F
.string "I lost.$" .string "I lost.$"
gUnknown_8172A97:: @ 8172A97 MtMoon_1F_Text_RobbyPostBattle:: @ 8172A97
.string "ZUBAT is tough!\n" .string "ZUBAT is tough!\n"
.string "But if you can catch one, you'll\l" .string "But if you can catch one, you'll\l"
.string "be able to count on it.$" .string "be able to count on it.$"
gUnknown_8172AE0:: @ 8172AE0 MtMoon_1F_Text_ZubatIsABloodsucker:: @ 8172AE0
.string "Beware!\n" .string "Beware!\n"
.string "ZUBAT is a bloodsucker!$" .string "ZUBAT is a bloodsucker!$"
MtMoon_1F_Text_BrockHelpsExcavateFossils:: @ 8172B00
.string "Hi, I'm excavating for fossils here\n"
.string "under MT. MOON.\p"
.string "Sometimes, BROCK of PEWTER GYM\n"
.string "lends me a hand.$"
+8 -8
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_16071B", "script": "MtMoon_B2F_EventScript_DomeFossil",
"flag": "FLAG_HIDE_DOME_FOSSIL" "flag": "FLAG_HIDE_DOME_FOSSIL"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_16077F", "script": "MtMoon_B2F_EventScript_HelixFossil",
"flag": "FLAG_HIDE_HELIX_FOSSIL" "flag": "FLAG_HIDE_HELIX_FOSSIL"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1606C2", "script": "MtMoon_B2F_EventScript_Miguel",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "MtMoon_B2F_EventScript_160829", "script": "MtMoon_B2F_EventScript_Grunt4",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "MtMoon_B2F_EventScript_1607E4", "script": "MtMoon_B2F_EventScript_Grunt1",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_B2F_EventScript_160812", "script": "MtMoon_B2F_EventScript_Grunt3",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -101,7 +101,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_B2F_EventScript_1607FB", "script": "MtMoon_B2F_EventScript_Grunt2",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -195,7 +195,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_MT_MOON_B2F", "var": "VAR_MAP_SCENE_MT_MOON_B2F",
"var_value": 0, "var_value": 0,
"script": "MtMoon_B2F_EventScript_1606B0" "script": "MtMoon_B2F_EventScript_MiguelTrigger"
} }
], ],
"bg_events": [ "bg_events": [
+55 -51
View File
@@ -1,138 +1,142 @@
.equ LOCALID_DOME_FOSSIL, 1
.equ LOCALID_HELIX_FOSSIL, 2
.equ LOCALID_MIGUEL, 3
MtMoon_B2F_MapScripts:: @ 8160699 MtMoon_B2F_MapScripts:: @ 8160699
map_script MAP_SCRIPT_ON_TRANSITION, MtMoon_B2F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, MtMoon_B2F_OnTransition
.byte 0 .byte 0
MtMoon_B2F_OnTransition:: @ 816069F MtMoon_B2F_OnTransition:: @ 816069F
call_if_unset FLAG_GOT_FOSSIL_FROM_MT_MOON, EventScript_1606A9 call_if_unset FLAG_GOT_FOSSIL_FROM_MT_MOON, MtMoon_B2F_EventScript_ShowFossils
end end
EventScript_1606A9:: @ 81606A9 MtMoon_B2F_EventScript_ShowFossils:: @ 81606A9
clearflag FLAG_HIDE_DOME_FOSSIL clearflag FLAG_HIDE_DOME_FOSSIL
clearflag FLAG_HIDE_HELIX_FOSSIL clearflag FLAG_HIDE_HELIX_FOSSIL
return return
MtMoon_B2F_EventScript_1606B0:: @ 81606B0 MtMoon_B2F_EventScript_MiguelTrigger:: @ 81606B0
lockall lockall
applymovement 3, Movement_WalkInPlaceFastestRight applymovement LOCALID_MIGUEL, Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
call EventScript_1606DD call MtMoon_B2F_EventScript_BattleMiguel
releaseall releaseall
end end
MtMoon_B2F_EventScript_1606C2:: @ 81606C2 MtMoon_B2F_EventScript_Miguel:: @ 81606C2
lock lock
faceplayer faceplayer
goto_if_set FLAG_GOT_FOSSIL_FROM_MT_MOON, EventScript_160707 goto_if_set FLAG_GOT_FOSSIL_FROM_MT_MOON, MtMoon_B2F_EventScript_MiguelFossilPicked
goto_if_defeated TRAINER_SUPER_NERD_MIGUEL, EventScript_160711 goto_if_defeated TRAINER_SUPER_NERD_MIGUEL, MtMoon_B2F_EventScript_MiguelGoPickFossil
call EventScript_1606DD call MtMoon_B2F_EventScript_BattleMiguel
release release
end end
EventScript_1606DD:: @ 81606DD MtMoon_B2F_EventScript_BattleMiguel:: @ 81606DD
textcolor 0 textcolor 0
message Text_172B64 message MtMoon_B2F_Text_MiguelIntro
waitmessage waitmessage
playbgm MUS_EXEYE, 0 playbgm MUS_EXEYE, 0
waitbuttonpress waitbuttonpress
setvar VAR_LAST_TALKED, 3 setvar VAR_LAST_TALKED, LOCALID_MIGUEL
trainerbattle_no_intro TRAINER_SUPER_NERD_MIGUEL, Text_172B99 trainerbattle_no_intro TRAINER_SUPER_NERD_MIGUEL, MtMoon_B2F_Text_MiguelDefeat
setvar VAR_MAP_SCENE_MT_MOON_B2F, 1 setvar VAR_MAP_SCENE_MT_MOON_B2F, 1
msgbox gUnknown_8172BAB msgbox MtMoon_B2F_Text_WellEachTakeAFossil
return return
EventScript_160707:: @ 8160707 MtMoon_B2F_EventScript_MiguelFossilPicked:: @ 8160707
msgbox gUnknown_8172BFB msgbox MtMoon_B2F_Text_LabOnCinnabarRegeneratesFossils
release release
end end
EventScript_160711:: @ 8160711 MtMoon_B2F_EventScript_MiguelGoPickFossil:: @ 8160711
msgbox gUnknown_8172BAB msgbox MtMoon_B2F_Text_WellEachTakeAFossil
release release
end end
MtMoon_B2F_EventScript_16071B:: @ 816071B MtMoon_B2F_EventScript_DomeFossil:: @ 816071B
lock lock
faceplayer faceplayer
msgbox gUnknown_8172E77, MSGBOX_YESNO msgbox MtMoon_B2F_Text_YouWantDomeFossil, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_1607DE goto_if_eq MtMoon_B2F_EventScript_DontTakeFossil
removeobject 1 removeobject LOCALID_DOME_FOSSIL
giveitem_msg gUnknown_8172ECD, ITEM_DOME_FOSSIL, 1, MUS_FAN5 giveitem_msg MtMoon_B2F_Text_ObtainedDomeFossil, ITEM_DOME_FOSSIL, 1, MUS_FAN5
closemessage closemessage
special sub_8112364 special sub_8112364
delay 10 delay 10
applymovement 3, Movement_16077A applymovement LOCALID_MIGUEL, MtMoon_B2F_Movement_MiguelToHelixFossil
waitmovement 0 waitmovement 0
moveobjectoffscreen 3 moveobjectoffscreen LOCALID_MIGUEL
textcolor 0 textcolor 0
playfanfare MUS_FAN5 playfanfare MUS_FAN5
message Text_172BD6 message MtMoon_B2F_Text_ThenThisFossilIsMine
waitmessage waitmessage
waitfanfare waitfanfare
removeobject 2 removeobject LOCALID_HELIX_FOSSIL
setflag FLAG_GOT_DOME_FOSSIL setflag FLAG_GOT_DOME_FOSSIL
setflag FLAG_GOT_FOSSIL_FROM_MT_MOON setflag FLAG_GOT_FOSSIL_FROM_MT_MOON
release release
end end
Movement_16077A:: @ 816077A MtMoon_B2F_Movement_MiguelToHelixFossil:: @ 816077A
walk_right walk_right
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
MtMoon_B2F_EventScript_16077F:: @ 816077F MtMoon_B2F_EventScript_HelixFossil:: @ 816077F
lock lock
faceplayer faceplayer
msgbox gUnknown_8172E94, MSGBOX_YESNO msgbox MtMoon_B2F_Text_YouWantHelixFossil, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_1607DE goto_if_eq MtMoon_B2F_EventScript_DontTakeFossil
removeobject 2 removeobject LOCALID_HELIX_FOSSIL
giveitem_msg gUnknown_8172EB2, ITEM_HELIX_FOSSIL, 1, MUS_FAN5 giveitem_msg MtMoon_B2F_Text_ObtainedHelixFossil, ITEM_HELIX_FOSSIL, 1, MUS_FAN5
closemessage closemessage
special sub_8112364 special sub_8112364
delay 10 delay 10
applymovement 3, Movement_1607E0 applymovement LOCALID_MIGUEL, MtMoon_B2F_Movement_MiguelToDomeFossil
waitmovement 0 waitmovement 0
moveobjectoffscreen 3 moveobjectoffscreen LOCALID_MIGUEL
textcolor 0 textcolor 0
playfanfare MUS_FAN5 playfanfare MUS_FAN5
message Text_172BD6 message MtMoon_B2F_Text_ThenThisFossilIsMine
waitmessage waitmessage
waitfanfare waitfanfare
removeobject 1 removeobject LOCALID_DOME_FOSSIL
setflag FLAG_GOT_HELIX_FOSSIL setflag FLAG_GOT_HELIX_FOSSIL
setflag FLAG_GOT_FOSSIL_FROM_MT_MOON setflag FLAG_GOT_FOSSIL_FROM_MT_MOON
release release
end end
EventScript_1607DE:: @ 81607DE MtMoon_B2F_EventScript_DontTakeFossil:: @ 81607DE
release release
end end
Movement_1607E0:: @ 81607E0 MtMoon_B2F_Movement_MiguelToDomeFossil:: @ 81607E0
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
MtMoon_B2F_EventScript_1607E4:: @ 81607E4 MtMoon_B2F_EventScript_Grunt1:: @ 81607E4
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT, Text_172C5A, Text_172CB8 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT, MtMoon_B2F_Text_Grunt1Intro, MtMoon_B2F_Text_Grunt1Defeat
msgbox gUnknown_8172CCB, MSGBOX_AUTOCLOSE msgbox MtMoon_B2F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_B2F_EventScript_1607FB:: @ 81607FB MtMoon_B2F_EventScript_Grunt2:: @ 81607FB
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_2, Text_172CFC, Text_172D46 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_2, MtMoon_B2F_Text_Grunt2Intro, MtMoon_B2F_Text_Grunt2Defeat
msgbox gUnknown_8172D51, MSGBOX_AUTOCLOSE msgbox MtMoon_B2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_B2F_EventScript_160812:: @ 8160812 MtMoon_B2F_EventScript_Grunt3:: @ 8160812
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_3, Text_172D82, Text_172DAF trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_3, MtMoon_B2F_Text_Grunt3Intro, MtMoon_B2F_Text_Grunt3Defeat
msgbox gUnknown_8172DC1, MSGBOX_AUTOCLOSE msgbox MtMoon_B2F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end end
MtMoon_B2F_EventScript_160829:: @ 8160829 MtMoon_B2F_EventScript_Grunt4:: @ 8160829
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_4, Text_172DF0, Text_172E3E trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_4, MtMoon_B2F_Text_Grunt4Intro, MtMoon_B2F_Text_Grunt4Defeat
msgbox gUnknown_8172E4B, MSGBOX_AUTOCLOSE msgbox MtMoon_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end end
+21 -27
View File
@@ -1,90 +1,84 @@
Text_172B00:: @ 8172B00 MtMoon_B2F_Text_MiguelIntro:: @ 8172B64
.string "Hi, I'm excavating for fossils here\n"
.string "under MT. MOON.\p"
.string "Sometimes, BROCK of PEWTER GYM\n"
.string "lends me a hand.$"
Text_172B64:: @ 8172B64
.string "Hey, stop!\p" .string "Hey, stop!\p"
.string "I found these fossils!\n" .string "I found these fossils!\n"
.string "They're both mine!$" .string "They're both mine!$"
Text_172B99:: @ 8172B99 MtMoon_B2F_Text_MiguelDefeat:: @ 8172B99
.string "Okay!\n" .string "Okay!\n"
.string "I'll share!$" .string "I'll share!$"
gUnknown_8172BAB:: @ 8172BAB MtMoon_B2F_Text_WellEachTakeAFossil:: @ 8172BAB
.string "We'll each take a fossil!\n" .string "We'll each take a fossil!\n"
.string "No being greedy!$" .string "No being greedy!$"
Text_172BD6:: @ 8172BD6 MtMoon_B2F_Text_ThenThisFossilIsMine:: @ 8172BD6
.string "All right.\n" .string "All right.\n"
.string "Then this fossil is mine!$" .string "Then this fossil is mine!$"
gUnknown_8172BFB:: @ 8172BFB MtMoon_B2F_Text_LabOnCinnabarRegeneratesFossils:: @ 8172BFB
.string "Far away, on CINNABAR ISLAND,\n" .string "Far away, on CINNABAR ISLAND,\n"
.string "there's a POKéMON LAB.\p" .string "there's a POKéMON LAB.\p"
.string "They do research on regenerating\n" .string "They do research on regenerating\n"
.string "fossils.$" .string "fossils.$"
Text_172C5A:: @ 8172C5A MtMoon_B2F_Text_Grunt1Intro:: @ 8172C5A
.string "We, TEAM ROCKET, shall find the\n" .string "We, TEAM ROCKET, shall find the\n"
.string "fossils!\p" .string "fossils!\p"
.string "Reviving POKéMON from them will\n" .string "Reviving POKéMON from them will\n"
.string "earn us huge riches!$" .string "earn us huge riches!$"
Text_172CB8:: @ 8172CB8 MtMoon_B2F_Text_Grunt1Defeat:: @ 8172CB8
.string "Urgh!\n" .string "Urgh!\n"
.string "Now I'm mad!$" .string "Now I'm mad!$"
gUnknown_8172CCB:: @ 8172CCB MtMoon_B2F_Text_Grunt1PostBattle:: @ 8172CCB
.string "You made me mad!\n" .string "You made me mad!\n"
.string "TEAM ROCKET will blacklist you!$" .string "TEAM ROCKET will blacklist you!$"
Text_172CFC:: @ 8172CFC MtMoon_B2F_Text_Grunt2Intro:: @ 8172CFC
.string "We, TEAM ROCKET, are POKéMON\n" .string "We, TEAM ROCKET, are POKéMON\n"
.string "gangsters!\l" .string "gangsters!\l"
.string "We strike fear with our strength!$" .string "We strike fear with our strength!$"
Text_172D46:: @ 8172D46 MtMoon_B2F_Text_Grunt2Defeat:: @ 8172D46
.string "I blew it!$" .string "I blew it!$"
gUnknown_8172D51:: @ 8172D51 MtMoon_B2F_Text_Grunt2PostBattle:: @ 8172D51
.string "Darn it all!\n" .string "Darn it all!\n"
.string "My associates won't stand for this!$" .string "My associates won't stand for this!$"
Text_172D82:: @ 8172D82 MtMoon_B2F_Text_Grunt3Intro:: @ 8172D82
.string "We're pulling a big job here!\n" .string "We're pulling a big job here!\n"
.string "Get lost, kid!$" .string "Get lost, kid!$"
Text_172DAF:: @ 8172DAF MtMoon_B2F_Text_Grunt3Defeat:: @ 8172DAF
.string "So, you are good…$" .string "So, you are good…$"
gUnknown_8172DC1:: @ 8172DC1 MtMoon_B2F_Text_Grunt3PostBattle:: @ 8172DC1
.string "If you find a fossil, give it to me\n" .string "If you find a fossil, give it to me\n"
.string "and scram!$" .string "and scram!$"
Text_172DF0:: @ 8172DF0 MtMoon_B2F_Text_Grunt4Intro:: @ 8172DF0
.string "Little kids shouldn't be messing\n" .string "Little kids shouldn't be messing\n"
.string "around with grown-ups!\p" .string "around with grown-ups!\p"
.string "It could be bad news!$" .string "It could be bad news!$"
Text_172E3E:: @ 8172E3E MtMoon_B2F_Text_Grunt4Defeat:: @ 8172E3E
.string "I'm steamed!$" .string "I'm steamed!$"
gUnknown_8172E4B:: @ 8172E4B MtMoon_B2F_Text_Grunt4PostBattle:: @ 8172E4B
.string "POKéMON lived here long before\n" .string "POKéMON lived here long before\n"
.string "people came.$" .string "people came.$"
gUnknown_8172E77:: @ 8172E77 MtMoon_B2F_Text_YouWantDomeFossil:: @ 8172E77
.string "Do you want the DOME FOSSIL?$" .string "Do you want the DOME FOSSIL?$"
gUnknown_8172E94:: @ 8172E94 MtMoon_B2F_Text_YouWantHelixFossil:: @ 8172E94
.string "Do you want the HELIX FOSSIL?$" .string "Do you want the HELIX FOSSIL?$"
gUnknown_8172EB2:: @ 8172EB2 MtMoon_B2F_Text_ObtainedHelixFossil:: @ 8172EB2
.string "Obtained the HELIX FOSSIL!$" .string "Obtained the HELIX FOSSIL!$"
gUnknown_8172ECD:: @ 8172ECD MtMoon_B2F_Text_ObtainedDomeFossil:: @ 8172ECD
.string "Obtained the DOME FOSSIL!$" .string "Obtained the DOME FOSSIL!$"
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "RocketHideout_B1F_EventScript_1611C5", "script": "RocketHideout_B1F_EventScript_Grunt2",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "RocketHideout_B1F_EventScript_1611AE", "script": "RocketHideout_B1F_EventScript_Grunt1",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "RocketHideout_B1F_EventScript_1611F3", "script": "RocketHideout_B1F_EventScript_Grunt4",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "RocketHideout_B1F_EventScript_1611DC", "script": "RocketHideout_B1F_EventScript_Grunt3",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "RocketHideout_B1F_EventScript_16120A", "script": "RocketHideout_B1F_EventScript_Grunt5",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
+32 -32
View File
@@ -4,60 +4,60 @@ RocketHideout_B1F_MapScripts:: @ 8161195
.byte 0 .byte 0
RocketHideout_B1F_OnLoad:: @ 81611A0 RocketHideout_B1F_OnLoad:: @ 81611A0
call_if_not_defeated TRAINER_TEAM_ROCKET_GRUNT_12 EventScript_161233 call_if_not_defeated TRAINER_TEAM_ROCKET_GRUNT_12 RocketHideout_B1F_EventScript_SetBarrier
end end
RocketHideout_B1F_OnTransition:: @ 81611AA RocketHideout_B1F_OnTransition:: @ 81611AA
setworldmapflag FLAG_WORLD_MAP_ROCKET_HIDEOUT_B1F setworldmapflag FLAG_WORLD_MAP_ROCKET_HIDEOUT_B1F
end end
RocketHideout_B1F_EventScript_1611AE:: @ 81611AE RocketHideout_B1F_EventScript_Grunt1:: @ 81611AE
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_8, Text_174ECA, Text_174EED trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_8, RocketHideout_B1F_Text_Grunt1Intro, RocketHideout_B1F_Text_Grunt1Defeat
msgbox gUnknown_8174EFA, MSGBOX_AUTOCLOSE msgbox RocketHideout_B1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
RocketHideout_B1F_EventScript_1611C5:: @ 81611C5 RocketHideout_B1F_EventScript_Grunt2:: @ 81611C5
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_9, Text_174F2C, Text_174F60 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_9, RocketHideout_B1F_Text_Grunt2Intro, RocketHideout_B1F_Text_Grunt2Defeat
msgbox gUnknown_8174F66, MSGBOX_AUTOCLOSE msgbox RocketHideout_B1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
RocketHideout_B1F_EventScript_1611DC:: @ 81611DC RocketHideout_B1F_EventScript_Grunt3:: @ 81611DC
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_10, Text_174F94, Text_174FA4 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_10, RocketHideout_B1F_Text_Grunt3Intro, RocketHideout_B1F_Text_Grunt3Defeat
msgbox gUnknown_8174FB3, MSGBOX_AUTOCLOSE msgbox RocketHideout_B1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end end
RocketHideout_B1F_EventScript_1611F3:: @ 81611F3 RocketHideout_B1F_EventScript_Grunt4:: @ 81611F3
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_11, Text_174FE1, Text_174FF8 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_11, RocketHideout_B1F_Text_Grunt4Intro, RocketHideout_B1F_Text_Grunt4Defeat
msgbox gUnknown_8175007, MSGBOX_AUTOCLOSE msgbox RocketHideout_B1F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end end
RocketHideout_B1F_EventScript_16120A:: @ 816120A RocketHideout_B1F_EventScript_Grunt5:: @ 816120A
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_12, Text_17503A, Text_17505A, EventScript_161225 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_12, RocketHideout_B1F_Text_Grunt5Intro, RocketHideout_B1F_Text_Grunt5Defeat, RocketHideout_B1F_EventScript_DefeatedGrunt5
msgbox gUnknown_8175060, MSGBOX_AUTOCLOSE msgbox RocketHideout_B1F_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end end
EventScript_161225:: @ 8161225 RocketHideout_B1F_EventScript_DefeatedGrunt5:: @ 8161225
call EventScript_16126A call RocketHideout_B1F_EventScript_RemoveBarrier
playse SE_KI_GASYAN playse SE_KI_GASYAN
special DrawWholeMapView special DrawWholeMapView
waitse waitse
release release
end end
EventScript_161233:: @ 8161233 RocketHideout_B1F_EventScript_SetBarrier:: @ 8161233
setmetatile 20, 19, 718, 1 setmetatile 20, 19, METATILE_Hideout_Barrier_TopLeft_Floor, 1
setmetatile 21, 19, 719, 1 setmetatile 21, 19, METATILE_Hideout_Barrier_TopRight_Floor, 1
setmetatile 20, 20, 726, 1 setmetatile 20, 20, METATILE_Hideout_Barrier_BottomLeft, 1
setmetatile 21, 20, 727, 1 setmetatile 21, 20, METATILE_Hideout_Barrier_BottomRight, 1
setmetatile 20, 21, 642, 0 setmetatile 20, 21, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 21, 21, 642, 0 setmetatile 21, 21, METATILE_Hideout_Floor_ShadeFull, 0
return return
EventScript_16126A:: @ 816126A RocketHideout_B1F_EventScript_RemoveBarrier:: @ 816126A
setmetatile 20, 19, 642, 0 setmetatile 20, 19, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 21, 19, 641, 0 setmetatile 21, 19, METATILE_Hideout_Floor, 0
setmetatile 20, 20, 642, 0 setmetatile 20, 20, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 21, 20, 641, 0 setmetatile 21, 20, METATILE_Hideout_Floor, 0
setmetatile 20, 21, 642, 0 setmetatile 20, 21, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 21, 21, 641, 0 setmetatile 21, 21, METATILE_Hideout_Floor, 0
return return
+15 -15
View File
@@ -1,53 +1,53 @@
Text_174ECA:: @ 8174ECA RocketHideout_B1F_Text_Grunt1Intro:: @ 8174ECA
.string "Who are you?\n" .string "Who are you?\n"
.string "How did you get here?$" .string "How did you get here?$"
Text_174EED:: @ 8174EED RocketHideout_B1F_Text_Grunt1Defeat:: @ 8174EED
.string "Oww!\n" .string "Oww!\n"
.string "Beaten!$" .string "Beaten!$"
gUnknown_8174EFA:: @ 8174EFA RocketHideout_B1F_Text_Grunt1PostBattle:: @ 8174EFA
.string "Blast it… You're dissing TEAM\n" .string "Blast it… You're dissing TEAM\n"
.string "ROCKET, aren't you?$" .string "ROCKET, aren't you?$"
Text_174F2C:: @ 8174F2C RocketHideout_B1F_Text_Grunt2Intro:: @ 8174F2C
.string "You broke into TEAM ROCKET's\n" .string "You broke into TEAM ROCKET's\n"
.string "operation? What nerve!$" .string "operation? What nerve!$"
Text_174F60:: @ 8174F60 RocketHideout_B1F_Text_Grunt2Defeat:: @ 8174F60
.string "Boom!$" .string "Boom!$"
gUnknown_8174F66:: @ 8174F66 RocketHideout_B1F_Text_Grunt2PostBattle:: @ 8174F66
.string "You're not going to get away with\n" .string "You're not going to get away with\n"
.string "this, brat!$" .string "this, brat!$"
Text_174F94:: @ 8174F94 RocketHideout_B1F_Text_Grunt3Intro:: @ 8174F94
.string "Intruder alert!$" .string "Intruder alert!$"
Text_174FA4:: @ 8174FA4 RocketHideout_B1F_Text_Grunt3Defeat:: @ 8174FA4
.string "I can't do it!$" .string "I can't do it!$"
gUnknown_8174FB3:: @ 8174FB3 RocketHideout_B1F_Text_Grunt3PostBattle:: @ 8174FB3
.string "SILPH SCOPE? Humph!\n" .string "SILPH SCOPE? Humph!\n"
.string "I don't know where it is.$" .string "I don't know where it is.$"
Text_174FE1:: @ 8174FE1 RocketHideout_B1F_Text_Grunt4Intro:: @ 8174FE1
.string "Why did you come here?$" .string "Why did you come here?$"
Text_174FF8:: @ 8174FF8 RocketHideout_B1F_Text_Grunt4Defeat:: @ 8174FF8
.string "This won't do!$" .string "This won't do!$"
gUnknown_8175007:: @ 8175007 RocketHideout_B1F_Text_Grunt4PostBattle:: @ 8175007
.string "Okay, I'll talk…\n" .string "Okay, I'll talk…\n"
.string "Take the elevator to see my BOSS.$" .string "Take the elevator to see my BOSS.$"
Text_17503A:: @ 817503A RocketHideout_B1F_Text_Grunt5Intro:: @ 817503A
.string "Are you lost, you little mouse?$" .string "Are you lost, you little mouse?$"
Text_17505A:: @ 817505A RocketHideout_B1F_Text_Grunt5Defeat:: @ 817505A
.string "Why…?$" .string "Why…?$"
gUnknown_8175060:: @ 8175060 RocketHideout_B1F_Text_Grunt5PostBattle:: @ 8175060
.string "Uh-oh, that ruckus somehow opened\n" .string "Uh-oh, that ruckus somehow opened\n"
.string "the door!$" .string "the door!$"
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "RocketHideout_B2F_EventScript_1612A2", "script": "RocketHideout_B2F_EventScript_Grunt",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
+3 -3
View File
@@ -1,7 +1,7 @@
RocketHideout_B2F_MapScripts:: @ 81612A1 RocketHideout_B2F_MapScripts:: @ 81612A1
.byte 0 .byte 0
RocketHideout_B2F_EventScript_1612A2:: @ 81612A2 RocketHideout_B2F_EventScript_Grunt:: @ 81612A2
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_13, Text_17508C, Text_1750BF trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_13, RocketHideout_B2F_Text_GruntIntro, RocketHideout_B2F_Text_GruntDefeat
msgbox gUnknown_81750CC, MSGBOX_AUTOCLOSE msgbox RocketHideout_B2F_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
end end
+3 -3
View File
@@ -1,11 +1,11 @@
Text_17508C:: @ 817508C RocketHideout_B2F_Text_GruntIntro:: @ 817508C
.string "BOSS said you can see ghosts with\n" .string "BOSS said you can see ghosts with\n"
.string "the SILPH SCOPE.$" .string "the SILPH SCOPE.$"
Text_1750BF:: @ 81750BF RocketHideout_B2F_Text_GruntDefeat:: @ 81750BF
.string "I surrender!$" .string "I surrender!$"
gUnknown_81750CC:: @ 81750CC RocketHideout_B2F_Text_GruntPostBattle:: @ 81750CC
.string "The TEAM ROCKET HQ has four\n" .string "The TEAM ROCKET HQ has four\n"
.string "underground floors.\p" .string "underground floors.\p"
.string "Think you can reach the BOSS?$" .string "Think you can reach the BOSS?$"
+2 -2
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "RocketHideout_B3F_EventScript_1612D1", "script": "RocketHideout_B3F_EventScript_Grunt2",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "RocketHideout_B3F_EventScript_1612BA", "script": "RocketHideout_B3F_EventScript_Grunt1",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
+6 -6
View File
@@ -1,12 +1,12 @@
RocketHideout_B3F_MapScripts:: @ 81612B9 RocketHideout_B3F_MapScripts:: @ 81612B9
.byte 0 .byte 0
RocketHideout_B3F_EventScript_1612BA:: @ 81612BA RocketHideout_B3F_EventScript_Grunt1:: @ 81612BA
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_14, Text_17511A, Text_17514A trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_14, RocketHideout_B3F_Text_Grunt1Intro, RocketHideout_B3F_Text_Grunt1Defeat
msgbox gUnknown_817515B, MSGBOX_AUTOCLOSE msgbox RocketHideout_B3F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
RocketHideout_B3F_EventScript_1612D1:: @ 81612D1 RocketHideout_B3F_EventScript_Grunt2:: @ 81612D1
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_15, Text_17519E, Text_1751CE trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_15, RocketHideout_B3F_Text_Grunt2Intro, RocketHideout_B3F_Text_Grunt2Defeat
msgbox gUnknown_81751E0, MSGBOX_AUTOCLOSE msgbox RocketHideout_B3F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+6 -6
View File
@@ -1,25 +1,25 @@
Text_17511A:: @ 817511A RocketHideout_B3F_Text_Grunt1Intro:: @ 817511A
.string "Stop meddling in TEAM ROCKET's\n" .string "Stop meddling in TEAM ROCKET's\n"
.string "affairs or else!$" .string "affairs or else!$"
Text_17514A:: @ 817514A RocketHideout_B3F_Text_Grunt1Defeat:: @ 817514A
.string "Oof!\n" .string "Oof!\n"
.string "Taken down!$" .string "Taken down!$"
gUnknown_817515B:: @ 817515B RocketHideout_B3F_Text_Grunt1PostBattle:: @ 817515B
.string "SILPH SCOPE?\n" .string "SILPH SCOPE?\n"
.string "Oh, that machine the BOSS stole.\p" .string "Oh, that machine the BOSS stole.\p"
.string "It's here somewhere.$" .string "It's here somewhere.$"
Text_17519E:: @ 817519E RocketHideout_B3F_Text_Grunt2Intro:: @ 817519E
.string "We got word from upstairs that you\n" .string "We got word from upstairs that you\n"
.string "were coming!$" .string "were coming!$"
Text_1751CE:: @ 81751CE RocketHideout_B3F_Text_Grunt2Defeat:: @ 81751CE
.string "What?\n" .string "What?\n"
.string "I lost? No!$" .string "I lost? No!$"
gUnknown_81751E0:: @ 81751E0 RocketHideout_B3F_Text_Grunt2PostBattle:: @ 81751E0
.string "Go ahead and go!\p" .string "Go ahead and go!\p"
.string "But you can't run the elevator\n" .string "But you can't run the elevator\n"
.string "without the LIFT KEY.$" .string "without the LIFT KEY.$"
+4 -4
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "RocketHideout_B4F_EventScript_161317", "script": "RocketHideout_B4F_EventScript_Giovanni",
"flag": "FLAG_HIDE_HIDEOUT_GIOVANNI" "flag": "FLAG_HIDE_HIDEOUT_GIOVANNI"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "RocketHideout_B4F_EventScript_161381", "script": "RocketHideout_B4F_EventScript_Grunt1",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "RocketHideout_B4F_EventScript_161418", "script": "RocketHideout_B4F_EventScript_Grunt3",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "RocketHideout_B4F_EventScript_1613CE", "script": "RocketHideout_B4F_EventScript_Grunt2",
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS" "flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
}, },
{ {
+64 -58
View File
@@ -1,33 +1,39 @@
.equ LOCALID_GIOVANNI, 1
.equ LOCALID_SILPH_SCOPE, 2
.equ LOCALID_LIFT_KEY, 4
.equ NUM_DOOR_GRUNTS_DEFEATED, VAR_TEMP_1
RocketHideout_B4F_MapScripts:: @ 81612E8 RocketHideout_B4F_MapScripts:: @ 81612E8
map_script MAP_SCRIPT_ON_LOAD, RocketHideout_B4F_OnLoad map_script MAP_SCRIPT_ON_LOAD, RocketHideout_B4F_OnLoad
.byte 0 .byte 0
RocketHideout_B4F_OnLoad:: @ 81612EE RocketHideout_B4F_OnLoad:: @ 81612EE
setvar VAR_TEMP_1, 0 setvar NUM_DOOR_GRUNTS_DEFEATED, 0
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, RocketHideout_B4F_EventScript_CountGruntDefeated
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, RocketHideout_B4F_EventScript_CountGruntDefeated
compare VAR_TEMP_1, 2 compare NUM_DOOR_GRUNTS_DEFEATED, 2
call_if_ne EventScript_16146A call_if_ne RocketHideout_B4F_EventScript_SetBarrier
end end
EventScript_161311:: @ 8161311 RocketHideout_B4F_EventScript_CountGruntDefeated:: @ 8161311
addvar VAR_TEMP_1, 1 addvar NUM_DOOR_GRUNTS_DEFEATED, 1
return return
RocketHideout_B4F_EventScript_161317:: @ 8161317 RocketHideout_B4F_EventScript_Giovanni:: @ 8161317
lock lock
faceplayer faceplayer
famechecker FAMECHECKER_GIOVANNI, 0 famechecker FAMECHECKER_GIOVANNI, 0
message Text_175226 message RocketHideout_B4F_Text_GiovanniIntro
waitmessage waitmessage
playbgm MUS_ROCKET, 0 playbgm MUS_ROCKET, 0
waitbuttonpress waitbuttonpress
trainerbattle_no_intro TRAINER_BOSS_GIOVANNI, Text_175318 trainerbattle_no_intro TRAINER_BOSS_GIOVANNI, RocketHideout_B4F_Text_GiovanniDefeat
msgbox gUnknown_817532D msgbox RocketHideout_B4F_Text_GiovanniPostBattle
fadescreen FADE_TO_BLACK fadescreen FADE_TO_BLACK
closemessage closemessage
removeobject 1 removeobject LOCALID_GIOVANNI
addobject 2 addobject LOCALID_SILPH_SCOPE
clearflag FLAG_HIDE_SILPH_SCOPE clearflag FLAG_HIDE_SILPH_SCOPE
setflag FLAG_HIDE_CELADON_ROCKETS setflag FLAG_HIDE_CELADON_ROCKETS
famechecker FAMECHECKER_GIOVANNI, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005 famechecker FAMECHECKER_GIOVANNI, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
@@ -38,22 +44,22 @@ RocketHideout_B4F_EventScript_161317:: @ 8161317
RocketHideout_B4F_EventScript_SilphScope:: @ 8161363 RocketHideout_B4F_EventScript_SilphScope:: @ 8161363
lock lock
faceplayer faceplayer
removeobject 2 removeobject LOCALID_SILPH_SCOPE
giveitem ITEM_SILPH_SCOPE giveitem ITEM_SILPH_SCOPE
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull goto_if_eq EventScript_BagIsFull
release release
end end
RocketHideout_B4F_EventScript_161381:: @ 8161381 RocketHideout_B4F_EventScript_Grunt1:: @ 8161381
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_18, Text_175488, Text_1754B9, EventScript_16139D trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_18, RocketHideout_B4F_Text_Grunt1Intro, RocketHideout_B4F_Text_Grunt1Defeat, RocketHideout_B4F_EventScript_DefeatedGrunt1
msgbox gUnknown_81754BD msgbox RocketHideout_B4F_Text_Grunt1PostBattle
release release
end end
EventScript_16139D:: @ 816139D RocketHideout_B4F_EventScript_DefeatedGrunt1:: @ 816139D
msgbox gUnknown_81754BD msgbox RocketHideout_B4F_Text_Grunt1PostBattle
addobject 4 addobject LOCALID_LIFT_KEY
clearflag FLAG_HIDE_LIFT_KEY clearflag FLAG_HIDE_LIFT_KEY
release release
end end
@@ -62,65 +68,65 @@ RocketHideout_B4F_EventScript_LiftKey:: @ 81613AD
lock lock
faceplayer faceplayer
setflag FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT setflag FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT
removeobject 4 removeobject LOCALID_LIFT_KEY
giveitem ITEM_LIFT_KEY giveitem ITEM_LIFT_KEY
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull goto_if_eq EventScript_BagIsFull
release release
end end
RocketHideout_B4F_EventScript_1613CE:: @ 81613CE RocketHideout_B4F_EventScript_Grunt2:: @ 81613CE
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_16, Text_1753D0, Text_1753FE, EventScript_1613E9 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_16, RocketHideout_B4F_Text_Grunt2Intro, RocketHideout_B4F_Text_Grunt2Defeat, RocketHideout_B4F_EventScript_DefeatedGrunt2
msgbox gUnknown_817540C, MSGBOX_AUTOCLOSE msgbox RocketHideout_B4F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
EventScript_1613E9:: @ 81613E9 RocketHideout_B4F_EventScript_DefeatedGrunt2:: @ 81613E9
setvar VAR_TEMP_1, 0 setvar NUM_DOOR_GRUNTS_DEFEATED, 0
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, RocketHideout_B4F_EventScript_CountGruntDefeated
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, RocketHideout_B4F_EventScript_CountGruntDefeated
compare VAR_TEMP_1, 2 compare NUM_DOOR_GRUNTS_DEFEATED, 2
call_if_eq EventScript_1614A1 call_if_eq RocketHideout_B4F_EventScript_RemoveBarrier
compare VAR_TEMP_1, 2 compare NUM_DOOR_GRUNTS_DEFEATED, 2
call_if_eq EventScript_161462 call_if_eq RocketHideout_B4F_EventScript_DrawMapForBarrierRemoval
release release
end end
RocketHideout_B4F_EventScript_161418:: @ 8161418 RocketHideout_B4F_EventScript_Grunt3:: @ 8161418
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_17, Text_175437, Text_175463, EventScript_161433 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_17, RocketHideout_B4F_Text_Grunt3Intro, RocketHideout_B4F_Text_Grunt3Defeat, RocketHideout_B4F_EventScript_DefeatedGrunt3
msgbox gUnknown_817546A, MSGBOX_AUTOCLOSE msgbox RocketHideout_B4F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end end
EventScript_161433:: @ 8161433 RocketHideout_B4F_EventScript_DefeatedGrunt3:: @ 8161433
setvar VAR_TEMP_1, 0 setvar NUM_DOOR_GRUNTS_DEFEATED, 0
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_16, RocketHideout_B4F_EventScript_CountGruntDefeated
call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, EventScript_161311 call_if_defeated TRAINER_TEAM_ROCKET_GRUNT_17, RocketHideout_B4F_EventScript_CountGruntDefeated
compare VAR_TEMP_1, 2 compare NUM_DOOR_GRUNTS_DEFEATED, 2
call_if_eq EventScript_1614A1 call_if_eq RocketHideout_B4F_EventScript_RemoveBarrier
compare VAR_TEMP_1, 2 compare NUM_DOOR_GRUNTS_DEFEATED, 2
call_if_eq EventScript_161462 call_if_eq RocketHideout_B4F_EventScript_DrawMapForBarrierRemoval
release release
end end
EventScript_161462:: @ 8161462 RocketHideout_B4F_EventScript_DrawMapForBarrierRemoval:: @ 8161462
playse SE_KI_GASYAN playse SE_KI_GASYAN
special DrawWholeMapView special DrawWholeMapView
waitse waitse
return return
EventScript_16146A:: @ 816146A RocketHideout_B4F_EventScript_SetBarrier:: @ 816146A
setmetatile 17, 12, 718, 1 setmetatile 17, 12, METATILE_Hideout_Barrier_TopLeft_Floor, 1
setmetatile 18, 12, 719, 1 setmetatile 18, 12, METATILE_Hideout_Barrier_TopRight_Floor, 1
setmetatile 17, 13, 726, 1 setmetatile 17, 13, METATILE_Hideout_Barrier_BottomLeft, 1
setmetatile 18, 13, 727, 1 setmetatile 18, 13, METATILE_Hideout_Barrier_BottomRight, 1
setmetatile 17, 14, 642, 0 setmetatile 17, 14, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 18, 14, 642, 0 setmetatile 18, 14, METATILE_Hideout_Floor_ShadeFull, 0
return return
EventScript_1614A1:: @ 81614A1 RocketHideout_B4F_EventScript_RemoveBarrier:: @ 81614A1
setmetatile 17, 12, 642, 0 setmetatile 17, 12, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 18, 12, 641, 0 setmetatile 18, 12, METATILE_Hideout_Floor, 0
setmetatile 17, 13, 642, 0 setmetatile 17, 13, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 18, 13, 641, 0 setmetatile 18, 13, METATILE_Hideout_Floor, 0
setmetatile 17, 14, 642, 0 setmetatile 17, 14, METATILE_Hideout_Floor_ShadeFull, 0
setmetatile 18, 14, 641, 0 setmetatile 18, 14, METATILE_Hideout_Floor, 0
return return
+12 -12
View File
@@ -1,4 +1,4 @@
Text_175226:: @ 8175226 RocketHideout_B4F_Text_GiovanniIntro:: @ 8175226
.string "So! I must say, I am impressed you\n" .string "So! I must say, I am impressed you\n"
.string "got here.\p" .string "got here.\p"
.string "TEAM ROCKET captures POKéMON from\n" .string "TEAM ROCKET captures POKéMON from\n"
@@ -9,11 +9,11 @@ Text_175226:: @ 8175226
.string "For your insolence, you will feel a\n" .string "For your insolence, you will feel a\n"
.string "world of pain!$" .string "world of pain!$"
Text_175318:: @ 8175318 RocketHideout_B4F_Text_GiovanniDefeat:: @ 8175318
.string "WHAT!\n" .string "WHAT!\n"
.string "This can't be!$" .string "This can't be!$"
gUnknown_817532D:: @ 817532D RocketHideout_B4F_Text_GiovanniPostBattle:: @ 817532D
.string "I see that you raise POKéMON with\n" .string "I see that you raise POKéMON with\n"
.string "utmost care.\p" .string "utmost care.\p"
.string "A child like you would never\n" .string "A child like you would never\n"
@@ -21,36 +21,36 @@ gUnknown_817532D:: @ 817532D
.string "I shall step aside this time!\p" .string "I shall step aside this time!\p"
.string "I hope we meet again…$" .string "I hope we meet again…$"
Text_1753D0:: @ 81753D0 RocketHideout_B4F_Text_Grunt2Intro:: @ 81753D0
.string "I know you!\n" .string "I know you!\n"
.string "You ruined our plans at MT. MOON!$" .string "You ruined our plans at MT. MOON!$"
Text_1753FE:: @ 81753FE RocketHideout_B4F_Text_Grunt2Defeat:: @ 81753FE
.string "Burned again!$" .string "Burned again!$"
gUnknown_817540C:: @ 817540C RocketHideout_B4F_Text_Grunt2PostBattle:: @ 817540C
.string "Do you have something against TEAM\n" .string "Do you have something against TEAM\n"
.string "ROCKET?$" .string "ROCKET?$"
Text_175437:: @ 8175437 RocketHideout_B4F_Text_Grunt3Intro:: @ 8175437
.string "How can you not see the beauty of\n" .string "How can you not see the beauty of\n"
.string "our evil?$" .string "our evil?$"
Text_175463:: @ 8175463 RocketHideout_B4F_Text_Grunt3Defeat:: @ 8175463
.string "Ayaya!$" .string "Ayaya!$"
gUnknown_817546A:: @ 817546A RocketHideout_B4F_Text_Grunt3PostBattle:: @ 817546A
.string "BOSS!\n" .string "BOSS!\n"
.string "I'm sorry I failed you!$" .string "I'm sorry I failed you!$"
Text_175488:: @ 8175488 RocketHideout_B4F_Text_Grunt1Intro:: @ 8175488
.string "The elevator doesn't work?\n" .string "The elevator doesn't work?\n"
.string "Who has the LIFT KEY?$" .string "Who has the LIFT KEY?$"
Text_1754B9:: @ 81754B9 RocketHideout_B4F_Text_Grunt1Defeat:: @ 81754B9
.string "No!$" .string "No!$"
gUnknown_81754BD:: @ 81754BD RocketHideout_B4F_Text_Grunt1PostBattle:: @ 81754BD
.string "Oh, no!\n" .string "Oh, no!\n"
.string "I dropped the LIFT KEY!$" .string "I dropped the LIFT KEY!$"
+1 -1
View File
@@ -36,7 +36,7 @@
"x": 0, "x": 0,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "RocketHideout_Elevator_EventScript_1614D9" "script": "RocketHideout_Elevator_EventScript_FloorSelect"
} }
] ]
} }
+33 -45
View File
@@ -1,9 +1,9 @@
RocketHideout_Elevator_MapScripts:: @ 81614D8 RocketHideout_Elevator_MapScripts:: @ 81614D8
.byte 0 .byte 0
RocketHideout_Elevator_EventScript_1614D9:: @ 81614D9 RocketHideout_Elevator_EventScript_FloorSelect:: @ 81614D9
lockall lockall
goto_if_unset FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT, EventScript_16161B goto_if_unset FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT, RocketHideout_Elevator_EventScript_NeedKey
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
@@ -13,83 +13,71 @@ RocketHideout_Elevator_EventScript_1614D9:: @ 81614D9
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
specialvar VAR_RESULT, Special_InitElevatorFloorSelectMenuPos specialvar VAR_RESULT, Special_InitElevatorFloorSelectMenuPos
switch VAR_RESULT switch VAR_RESULT
case 0, EventScript_161530 case 0, RocketHideout_Elevator_EventScript_FloorSelectFromB1F
case 1, EventScript_16153C case 1, RocketHideout_Elevator_EventScript_FloorSelectFromB2F
case 2, EventScript_161548 case 2, RocketHideout_Elevator_EventScript_FloorSelectFromB4F
end end
EventScript_161530:: @ 8161530 RocketHideout_Elevator_EventScript_FloorSelectFromB1F:: @ 8161530
multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 0, FALSE multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 0, FALSE
goto EventScript_161554 goto RocketHideout_Elevator_EventScript_ChooseFloor
EventScript_16153B:: @ 816153B
end end
EventScript_16153C:: @ 816153C RocketHideout_Elevator_EventScript_FloorSelectFromB2F:: @ 816153C
multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 1, FALSE multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 1, FALSE
goto EventScript_161554 goto RocketHideout_Elevator_EventScript_ChooseFloor
EventScript_161547:: @ 8161547
end end
EventScript_161548:: @ 8161548 RocketHideout_Elevator_EventScript_FloorSelectFromB4F:: @ 8161548
multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 2, FALSE multichoicedefault 0, 0, MULTICHOICE_ROCKET_HIDEOUT_ELEVATOR, 2, FALSE
goto EventScript_161554 goto RocketHideout_Elevator_EventScript_ChooseFloor
EventScript_161553:: @ 8161553
end end
EventScript_161554:: @ 8161554 RocketHideout_Elevator_EventScript_ChooseFloor:: @ 8161554
switch VAR_RESULT switch VAR_RESULT
case 0, EventScript_161591 case 0, RocketHideout_Elevator_EventScript_ToB1F
case 1, EventScript_1615B9 case 1, RocketHideout_Elevator_EventScript_ToB2F
case 2, EventScript_1615E1 case 2, RocketHideout_Elevator_EventScript_ToB4F
case 3, EventScript_161609 case 3, RocketHideout_Elevator_EventScript_ExitFloorSelect
case 127, EventScript_161609 case 127, RocketHideout_Elevator_EventScript_ExitFloorSelect
end end
EventScript_161591:: @ 8161591 RocketHideout_Elevator_EventScript_ToB1F:: @ 8161591
setvar VAR_0x8006, 3 setvar VAR_0x8006, 3
setdynamicwarp MAP_ROCKET_HIDEOUT_B1F, 255, 24, 25 setdynamicwarp MAP_ROCKET_HIDEOUT_B1F, 255, 24, 25
compare VAR_ELEVATOR_FLOOR, 3 compare VAR_ELEVATOR_FLOOR, 3
goto_if_eq EventScript_161609 goto_if_eq RocketHideout_Elevator_EventScript_ExitFloorSelect
call EventScript_16160E call RocketHideout_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 3 setvar VAR_ELEVATOR_FLOOR, 3
goto EventScript_161609 goto RocketHideout_Elevator_EventScript_ExitFloorSelect
EventScript_1615B8:: @ 81615B8
end end
EventScript_1615B9:: @ 81615B9 RocketHideout_Elevator_EventScript_ToB2F:: @ 81615B9
setvar VAR_0x8006, 2 setvar VAR_0x8006, 2
setdynamicwarp MAP_ROCKET_HIDEOUT_B2F, 255, 28, 16 setdynamicwarp MAP_ROCKET_HIDEOUT_B2F, 255, 28, 16
compare VAR_ELEVATOR_FLOOR, 2 compare VAR_ELEVATOR_FLOOR, 2
goto_if_eq EventScript_161609 goto_if_eq RocketHideout_Elevator_EventScript_ExitFloorSelect
call EventScript_16160E call RocketHideout_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 2 setvar VAR_ELEVATOR_FLOOR, 2
goto EventScript_161609 goto RocketHideout_Elevator_EventScript_ExitFloorSelect
EventScript_1615E0:: @ 81615E0
end end
EventScript_1615E1:: @ 81615E1 RocketHideout_Elevator_EventScript_ToB4F:: @ 81615E1
setvar VAR_0x8006, 0 setvar VAR_0x8006, 0
setdynamicwarp MAP_ROCKET_HIDEOUT_B4F, 255, 20, 23 setdynamicwarp MAP_ROCKET_HIDEOUT_B4F, 255, 20, 23
compare VAR_ELEVATOR_FLOOR, 0 compare VAR_ELEVATOR_FLOOR, 0
goto_if_eq EventScript_161609 goto_if_eq RocketHideout_Elevator_EventScript_ExitFloorSelect
call EventScript_16160E call RocketHideout_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 0 setvar VAR_ELEVATOR_FLOOR, 0
goto EventScript_161609 goto RocketHideout_Elevator_EventScript_ExitFloorSelect
EventScript_161608:: @ 8161608
end end
EventScript_161609:: @ 8161609 RocketHideout_Elevator_EventScript_ExitFloorSelect:: @ 8161609
special Special_CloseElevatorCurrentFloorWindow special Special_CloseElevatorCurrentFloorWindow
releaseall releaseall
end end
EventScript_16160E:: @ 816160E RocketHideout_Elevator_EventScript_MoveElevator:: @ 816160E
special Special_CloseElevatorCurrentFloorWindow special Special_CloseElevatorCurrentFloorWindow
closemessage closemessage
waitse waitse
@@ -98,7 +86,7 @@ EventScript_16160E:: @ 816160E
setflag FLAG_TEMP_2 setflag FLAG_TEMP_2
return return
EventScript_16161B:: @ 816161B RocketHideout_Elevator_EventScript_NeedKey:: @ 816161B
msgbox gUnknown_81754DD msgbox RocketHideout_Elevator_Text_AppearsToNeedAKey
releaseall releaseall
end end
+1 -1
View File
@@ -1,3 +1,3 @@
gUnknown_81754DD:: @ 81754DD RocketHideout_Elevator_Text_AppearsToNeedAKey:: @ 81754DD
.string "It appears to need a key.$" .string "It appears to need a key.$"
+4 -4
View File
@@ -23,7 +23,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_10F_EventScript_161DC0", "script": "SilphCo_10F_EventScript_Travis",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_10F_EventScript_161D96", "script": "SilphCo_10F_EventScript_WorkerF",
"flag": "0" "flag": "0"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_10F_EventScript_161DD7", "script": "SilphCo_10F_EventScript_Grunt",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -181,7 +181,7 @@
"x": 7, "x": 7,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_10F_EventScript_161DB7" "script": "SilphCo_10F_EventScript_FloorSign"
} }
] ]
} }
+13 -13
View File
@@ -6,30 +6,30 @@ SilphCo_10F_OnLoad:: @ 8161D8C
call_if_unset FLAG_SILPH_10F_DOOR, EventScript_Close10FDoor call_if_unset FLAG_SILPH_10F_DOOR, EventScript_Close10FDoor
end end
SilphCo_10F_EventScript_161D96:: @ 8161D96 SilphCo_10F_EventScript_WorkerF:: @ 8161D96
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161DAD goto_if_ge SilphCo_10F_EventScript_WorkerFRocketsGone
msgbox gUnknown_8176DBA msgbox SilphCo_10F_Text_WaaaImScared
release release
end end
EventScript_161DAD:: @ 8161DAD SilphCo_10F_EventScript_WorkerFRocketsGone:: @ 8161DAD
msgbox gUnknown_8176DCE msgbox SilphCo_10F_Text_KeepMeCryingASecret
release release
end end
SilphCo_10F_EventScript_161DB7:: @ 8161DB7 SilphCo_10F_EventScript_FloorSign:: @ 8161DB7
msgbox gUnknown_8176DF8, MSGBOX_SIGN msgbox SilphCo_10F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_10F_EventScript_161DC0:: @ 8161DC0 SilphCo_10F_EventScript_Travis:: @ 8161DC0
trainerbattle_single TRAINER_SCIENTIST_TRAVIS, Text_176D57, Text_176D73 trainerbattle_single TRAINER_SCIENTIST_TRAVIS, SilphCo_10F_Text_TravisIntro, SilphCo_10F_Text_TravisDefeat
msgbox gUnknown_8176D86, MSGBOX_AUTOCLOSE msgbox SilphCo_10F_Text_TravisPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_10F_EventScript_161DD7:: @ 8161DD7 SilphCo_10F_EventScript_Grunt:: @ 8161DD7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_39, Text_176CED, Text_176D18 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_39, SilphCo_10F_Text_GruntIntro, SilphCo_10F_Text_GruntDefeat
msgbox gUnknown_8176D25, MSGBOX_AUTOCLOSE msgbox SilphCo_10F_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
end end
+9 -9
View File
@@ -1,33 +1,33 @@
Text_176CED:: @ 8176CED SilphCo_10F_Text_GruntIntro:: @ 8176CED
.string "Welcome to 10F!\n" .string "Welcome to 10F!\n"
.string "So good of you to join me!$" .string "So good of you to join me!$"
Text_176D18:: @ 8176D18 SilphCo_10F_Text_GruntDefeat:: @ 8176D18
.string "I'm stunned!$" .string "I'm stunned!$"
gUnknown_8176D25:: @ 8176D25 SilphCo_10F_Text_GruntPostBattle:: @ 8176D25
.string "Nice try, but the boardroom is up\n" .string "Nice try, but the boardroom is up\n"
.string "one more floor.$" .string "one more floor.$"
Text_176D57:: @ 8176D57 SilphCo_10F_Text_TravisIntro:: @ 8176D57
.string "Enough of your silly games!$" .string "Enough of your silly games!$"
Text_176D73:: @ 8176D73 SilphCo_10F_Text_TravisDefeat:: @ 8176D73
.string "No continues left!$" .string "No continues left!$"
gUnknown_8176D86:: @ 8176D86 SilphCo_10F_Text_TravisPostBattle:: @ 8176D86
.string "Are you satisfied with beating me?\n" .string "Are you satisfied with beating me?\n"
.string "Then go on home!$" .string "Then go on home!$"
gUnknown_8176DBA:: @ 8176DBA SilphCo_10F_Text_WaaaImScared:: @ 8176DBA
.string "Waaaaa!\n" .string "Waaaaa!\n"
.string "I'm scared!$" .string "I'm scared!$"
gUnknown_8176DCE:: @ 8176DCE SilphCo_10F_Text_KeepMeCryingASecret:: @ 8176DCE
.string "About me crying…\n" .string "About me crying…\n"
.string "Please keep it a secret.$" .string "Please keep it a secret.$"
gUnknown_8176DF8:: @ 8176DF8 SilphCo_10F_Text_FloorSign:: @ 8176DF8
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "10F$" .string "10F$"
+7 -7
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_11F_EventScript_161DFE", "script": "SilphCo_11F_EventScript_President",
"flag": "0" "flag": "0"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_11F_EventScript_161E7F", "script": "SilphCo_11F_EventScript_Secretary",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_11F_EventScript_161F40", "script": "SilphCo_11F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_11F_EventScript_161F57", "script": "SilphCo_11F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
} }
], ],
@@ -123,7 +123,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_SILPH_CO_11F", "var": "VAR_MAP_SCENE_SILPH_CO_11F",
"var_value": 0, "var_value": 0,
"script": "SilphCo_11F_EventScript_161E88" "script": "SilphCo_11F_EventScript_GiovanniTriggerLeft"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -132,7 +132,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_SILPH_CO_11F", "var": "VAR_MAP_SCENE_SILPH_CO_11F",
"var_value": 0, "var_value": 0,
"script": "SilphCo_11F_EventScript_161E94" "script": "SilphCo_11F_EventScript_GiovanniTriggerRight"
} }
], ],
"bg_events": [ "bg_events": [
@@ -179,7 +179,7 @@
"x": 8, "x": 8,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_11F_EventScript_161F37" "script": "SilphCo_11F_EventScript_FloorSign"
} }
] ]
} }
+46 -49
View File
@@ -6,76 +6,72 @@ SilphCo_11F_OnLoad:: @ 8161DF4
call_if_unset FLAG_SILPH_11F_DOOR, EventScript_Close11FDoor call_if_unset FLAG_SILPH_11F_DOOR, EventScript_Close11FDoor
end end
SilphCo_11F_EventScript_161DFE:: @ 8161DFE SilphCo_11F_EventScript_President:: @ 8161DFE
lock lock
faceplayer faceplayer
goto_if_set FLAG_GOT_MASTER_BALL_FROM_SILPH, EventScript_161E75 goto_if_set FLAG_GOT_MASTER_BALL_FROM_SILPH, SilphCo_11F_EventScript_AlreadyGotMasterBall
checkplayergender checkplayergender
compare VAR_RESULT, MALE compare VAR_RESULT, MALE
call_if_eq EventScript_161E59 call_if_eq SilphCo_11F_EventScript_PresidentThanksMale
compare VAR_RESULT, FEMALE compare VAR_RESULT, FEMALE
call_if_eq EventScript_161E62 call_if_eq SilphCo_11F_EventScript_PresidentThanksFemale
checkitemspace ITEM_MASTER_BALL, 1 checkitemspace ITEM_MASTER_BALL, 1
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_eq EventScript_161E6B goto_if_eq SilphCo_11F_EventScript_NoRoomForMasterBall
giveitem_msg gUnknown_8176FBD, ITEM_MASTER_BALL, 1, MUS_FAN5 giveitem_msg SilphCo_11F_Text_ObtainedMasterBallFromPresident, ITEM_MASTER_BALL, 1, MUS_FAN5
msgbox gUnknown_8176FEB msgbox SilphCo_11F_Text_ThatsOurSecretPrototype
setflag FLAG_GOT_MASTER_BALL_FROM_SILPH setflag FLAG_GOT_MASTER_BALL_FROM_SILPH
release release
end end
EventScript_161E59:: @ 8161E59 SilphCo_11F_EventScript_PresidentThanksMale:: @ 8161E59
msgbox gUnknown_8176E12 msgbox SilphCo_11F_Text_ThanksForSavingMeDearBoy
return return
EventScript_161E62:: @ 8161E62 SilphCo_11F_EventScript_PresidentThanksFemale:: @ 8161E62
msgbox gUnknown_8176EE7 msgbox SilphCo_11F_Text_ThanksForSavingMeDearGirl
return return
EventScript_161E6B:: @ 8161E6B SilphCo_11F_EventScript_NoRoomForMasterBall:: @ 8161E6B
msgbox gUnknown_817708E msgbox SilphCo_11F_Text_YouHaveNoRoomForThis
release release
end end
EventScript_161E75:: @ 8161E75 SilphCo_11F_EventScript_AlreadyGotMasterBall:: @ 8161E75
msgbox gUnknown_8176FEB msgbox SilphCo_11F_Text_ThatsOurSecretPrototype
release release
end end
SilphCo_11F_EventScript_161E7F:: @ 8161E7F SilphCo_11F_EventScript_Secretary:: @ 8161E7F
msgbox gUnknown_81770A9, MSGBOX_NPC msgbox SilphCo_11F_Text_ThanksForRescuingUs, MSGBOX_NPC
end end
SilphCo_11F_EventScript_161E88:: @ 8161E88 SilphCo_11F_EventScript_GiovanniTriggerLeft:: @ 8161E88
lockall lockall
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
goto EventScript_161EA0 goto SilphCo_11F_EventScript_BattleGiovanni
EventScript_161E93:: @ 8161E93
end end
SilphCo_11F_EventScript_161E94:: @ 8161E94 SilphCo_11F_EventScript_GiovanniTriggerRight:: @ 8161E94
lockall lockall
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
goto EventScript_161EA0 goto SilphCo_11F_EventScript_BattleGiovanni
EventScript_161E9F:: @ 8161E9F
end end
EventScript_161EA0:: @ 8161EA0 SilphCo_11F_EventScript_BattleGiovanni:: @ 8161EA0
textcolor 0 textcolor 0
applymovement 3, Movement_WalkInPlaceFastestDown applymovement 3, Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
delay 25 delay 25
msgbox gUnknown_8177108 msgbox SilphCo_11F_Text_GiovanniIntro
closemessage closemessage
compare VAR_TEMP_1, 0 compare VAR_TEMP_1, 0
call_if_eq EventScript_161F00 call_if_eq SilphCo_11F_EventScript_GiovanniApproachLeft
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq EventScript_161F12 call_if_eq SilphCo_11F_EventScript_GiovanniApproachRight
setvar VAR_LAST_TALKED, 3 setvar VAR_LAST_TALKED, 3
trainerbattle_no_intro TRAINER_BOSS_GIOVANNI_2, Text_1771AB trainerbattle_no_intro TRAINER_BOSS_GIOVANNI_2, SilphCo_11F_Text_GiovanniDefeat
msgbox gUnknown_81771C2 msgbox SilphCo_11F_Text_GiovanniPostBattle
closemessage closemessage
fadescreen FADE_TO_BLACK fadescreen FADE_TO_BLACK
removeobject 3 removeobject 3
@@ -88,18 +84,18 @@ EventScript_161EA0:: @ 8161EA0
releaseall releaseall
end end
EventScript_161F00:: @ 8161F00 SilphCo_11F_EventScript_GiovanniApproachLeft:: @ 8161F00
applymovement 3, Movement_161F1D applymovement 3, SilphCo_11F_Movement_GiovanniApproachLeft
applymovement OBJ_EVENT_ID_PLAYER, Movement_161F27 applymovement OBJ_EVENT_ID_PLAYER, SilphCo_11F_Movement_PlayerFaceGiovanni
waitmovement 0 waitmovement 0
return return
EventScript_161F12:: @ 8161F12 SilphCo_11F_EventScript_GiovanniApproachRight:: @ 8161F12
applymovement 3, Movement_161F23 applymovement 3, SilphCo_11F_Movement_GiovanniApproachRight
waitmovement 0 waitmovement 0
return return
Movement_161F1D:: @ 8161F1D SilphCo_11F_Movement_GiovanniApproachLeft:: @ 8161F1D
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -107,13 +103,13 @@ Movement_161F1D:: @ 8161F1D
walk_in_place_fastest_left walk_in_place_fastest_left
step_end step_end
Movement_161F23:: @ 8161F23 SilphCo_11F_Movement_GiovanniApproachRight:: @ 8161F23
walk_down walk_down
walk_down walk_down
walk_down walk_down
step_end step_end
Movement_161F27:: @ 8161F27 SilphCo_11F_Movement_PlayerFaceGiovanni:: @ 8161F27
delay_16 delay_16
delay_16 delay_16
delay_16 delay_16
@@ -122,20 +118,21 @@ Movement_161F27:: @ 8161F27
walk_in_place_fastest_right walk_in_place_fastest_right
step_end step_end
EventScript_161F2E:: @ 8161F2E @ Unused
msgbox gUnknown_817732B, MSGBOX_SIGN SilphCo_11F_EventScript_Monitor:: @ 8161F2E
msgbox SilphCo_11F_Text_MonitorHasMonsOnIt, MSGBOX_SIGN
end end
SilphCo_11F_EventScript_161F37:: @ 8161F37 SilphCo_11F_EventScript_FloorSign:: @ 8161F37
msgbox gUnknown_817734A, MSGBOX_SIGN msgbox SilphCo_11F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_11F_EventScript_161F40:: @ 8161F40 SilphCo_11F_EventScript_Grunt1:: @ 8161F40
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_40, Text_1772B8, Text_1772E7 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_40, SilphCo_11F_Text_Grunt1Intro, SilphCo_11F_Text_Grunt1Defeat
msgbox gUnknown_81772F9, MSGBOX_AUTOCLOSE msgbox SilphCo_11F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_11F_EventScript_161F57:: @ 8161F57 SilphCo_11F_EventScript_Grunt2:: @ 8161F57
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_41, Text_17726A, Text_17728C trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_41, SilphCo_11F_Text_Grunt2Intro, SilphCo_11F_Text_Grunt2Defeat
msgbox gUnknown_817729B, MSGBOX_AUTOCLOSE msgbox SilphCo_11F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+17 -17
View File
@@ -1,4 +1,4 @@
gUnknown_8176E12:: @ 8176E12 SilphCo_11F_Text_ThanksForSavingMeDearBoy:: @ 8176E12
.string "PRESIDENT: Oh, dear boy!\n" .string "PRESIDENT: Oh, dear boy!\n"
.string "Thank you for saving SILPH.\p" .string "Thank you for saving SILPH.\p"
.string "I will never forget you saved us in\n" .string "I will never forget you saved us in\n"
@@ -8,7 +8,7 @@ gUnknown_8176E12:: @ 8176E12
.string "anything.\p" .string "anything.\p"
.string "Here, maybe this will do.$" .string "Here, maybe this will do.$"
gUnknown_8176EE7:: @ 8176EE7 SilphCo_11F_Text_ThanksForSavingMeDearGirl:: @ 8176EE7
.string "PRESIDENT: Oh, dear girl!\n" .string "PRESIDENT: Oh, dear girl!\n"
.string "Thank you for saving SILPH.\p" .string "Thank you for saving SILPH.\p"
.string "I will never forget you saved us in\n" .string "I will never forget you saved us in\n"
@@ -18,11 +18,11 @@ gUnknown_8176EE7:: @ 8176EE7
.string "anything.\p" .string "anything.\p"
.string "Here, maybe this will do.$" .string "Here, maybe this will do.$"
gUnknown_8176FBD:: @ 8176FBD SilphCo_11F_Text_ObtainedMasterBallFromPresident:: @ 8176FBD
.string "{PLAYER} obtained a MASTER BALL\n" .string "{PLAYER} obtained a MASTER BALL\n"
.string "from the PRESIDENT!$" .string "from the PRESIDENT!$"
gUnknown_8176FEB:: @ 8176FEB SilphCo_11F_Text_ThatsOurSecretPrototype:: @ 8176FEB
.string "PRESIDENT: You can't buy that\n" .string "PRESIDENT: You can't buy that\n"
.string "anywhere.\p" .string "anywhere.\p"
.string "It's our secret prototype MASTER\n" .string "It's our secret prototype MASTER\n"
@@ -32,16 +32,16 @@ gUnknown_8176FEB:: @ 8176FEB
.string "You should be quiet about using it,\n" .string "You should be quiet about using it,\n"
.string "though.$" .string "though.$"
gUnknown_817708E:: @ 817708E SilphCo_11F_Text_YouHaveNoRoomForThis:: @ 817708E
.string "You have no room for this.$" .string "You have no room for this.$"
gUnknown_81770A9:: @ 81770A9 SilphCo_11F_Text_ThanksForRescuingUs:: @ 81770A9
.string "SECRETARY: Thank you for rescuing\n" .string "SECRETARY: Thank you for rescuing\n"
.string "all of us.\p" .string "all of us.\p"
.string "We, from the PRESIDENT down,\n" .string "We, from the PRESIDENT down,\n"
.string "are indebted to you.$" .string "are indebted to you.$"
gUnknown_8177108:: @ 8177108 SilphCo_11F_Text_GiovanniIntro:: @ 8177108
.string "Ah, {PLAYER}!\n" .string "Ah, {PLAYER}!\n"
.string "So we meet again!\p" .string "So we meet again!\p"
.string "The PRESIDENT and I are discussing\n" .string "The PRESIDENT and I are discussing\n"
@@ -50,11 +50,11 @@ gUnknown_8177108:: @ 8177108
.string "matters…\p" .string "matters…\p"
.string "Or, experience a world of pain!$" .string "Or, experience a world of pain!$"
Text_1771AB:: @ 81771AB SilphCo_11F_Text_GiovanniDefeat:: @ 81771AB
.string "Arrgh!!\n" .string "Arrgh!!\n"
.string "I lost again!?$" .string "I lost again!?$"
gUnknown_81771C2:: @ 81771C2 SilphCo_11F_Text_GiovanniPostBattle:: @ 81771C2
.string "Blast it all!\n" .string "Blast it all!\n"
.string "You ruined our plans for SILPH!\p" .string "You ruined our plans for SILPH!\p"
.string "But, TEAM ROCKET will never fall!\p" .string "But, TEAM ROCKET will never fall!\p"
@@ -62,33 +62,33 @@ gUnknown_81771C2:: @ 81771C2
.string "POKéMON exist for TEAM ROCKET!\p" .string "POKéMON exist for TEAM ROCKET!\p"
.string "I must go, but I shall return!$" .string "I must go, but I shall return!$"
Text_17726A:: @ 817726A SilphCo_11F_Text_Grunt2Intro:: @ 817726A
.string "Stop right there!\n" .string "Stop right there!\n"
.string "Don't you move!$" .string "Don't you move!$"
Text_17728C:: @ 817728C SilphCo_11F_Text_Grunt2Defeat:: @ 817728C
.string "Don't…\n" .string "Don't…\n"
.string "Please!$" .string "Please!$"
gUnknown_817729B:: @ 817729B SilphCo_11F_Text_Grunt2PostBattle:: @ 817729B
.string "So, you want to see my BOSS?$" .string "So, you want to see my BOSS?$"
Text_1772B8:: @ 81772B8 SilphCo_11F_Text_Grunt1Intro:: @ 81772B8
.string "Halt! Do you have an appointment\n" .string "Halt! Do you have an appointment\n"
.string "with my BOSS?$" .string "with my BOSS?$"
Text_1772E7:: @ 81772E7 SilphCo_11F_Text_Grunt1Defeat:: @ 81772E7
.string "Gaah!\n" .string "Gaah!\n"
.string "Demolished!$" .string "Demolished!$"
gUnknown_81772F9:: @ 81772F9 SilphCo_11F_Text_Grunt1PostBattle:: @ 81772F9
.string "Watch your step…\n" .string "Watch your step…\n"
.string "My BOSS likes his POKéMON tough!$" .string "My BOSS likes his POKéMON tough!$"
gUnknown_817732B:: @ 817732B SilphCo_11F_Text_MonitorHasMonsOnIt:: @ 817732B
.string "The monitor has POKéMON on it!$" .string "The monitor has POKéMON on it!$"
gUnknown_817734A:: @ 817734A SilphCo_11F_Text_FloorSign:: @ 817734A
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "11F$" .string "11F$"
+2 -2
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_1F_EventScript_16162F", "script": "SilphCo_1F_EventScript_Receptionist",
"flag": "FLAG_HIDE_SAFFRON_CIVILIANS" "flag": "FLAG_HIDE_SAFFRON_CIVILIANS"
} }
], ],
@@ -71,7 +71,7 @@
"x": 30, "x": 30,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_1F_EventScript_161638" "script": "SilphCo_1F_EventScript_FloorSign"
} }
] ]
} }
+4 -4
View File
@@ -6,10 +6,10 @@ SilphCo_1F_OnTransition:: @ 816162B
setworldmapflag FLAG_WORLD_MAP_SILPH_CO_1F setworldmapflag FLAG_WORLD_MAP_SILPH_CO_1F
end end
SilphCo_1F_EventScript_16162F:: @ 816162F SilphCo_1F_EventScript_Receptionist:: @ 816162F
msgbox gUnknown_81754F7, MSGBOX_NPC msgbox SilphCo_1F_Text_WelcomePresidentInBoardroom, MSGBOX_NPC
end end
SilphCo_1F_EventScript_161638:: @ 8161638 SilphCo_1F_EventScript_FloorSign:: @ 8161638
msgbox gUnknown_8175549, MSGBOX_SIGN msgbox SilphCo_1F_Text_FloorSign, MSGBOX_SIGN
end end
+3 -3
View File
@@ -1,13 +1,13 @@
gUnknown_81754F7:: @ 81754F7 SilphCo_1F_Text_WelcomePresidentInBoardroom:: @ 81754F7
.string "Welcome.\p" .string "Welcome.\p"
.string "The PRESIDENT is in the boardroom\n" .string "The PRESIDENT is in the boardroom\n"
.string "on 11F.$" .string "on 11F.$"
Text_17552A:: @ 817552A SilphCo_1F_Text_17552A:: @ 817552A
.string "めちゃめちゃに こわされてる\n" .string "めちゃめちゃに こわされてる\n"
.string "とうぶん なおりそうに ない‥$" .string "とうぶん なおりそうに ない‥$"
gUnknown_8175549:: @ 8175549 SilphCo_1F_Text_FloorSign:: @ 8175549
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "1F$" .string "1F$"
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_2F_EventScript_1616AE", "script": "SilphCo_2F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_2F_EventScript_161680", "script": "SilphCo_2F_EventScript_Jerry",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_2F_EventScript_161697", "script": "SilphCo_2F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_2F_EventScript_161669", "script": "SilphCo_2F_EventScript_Connor",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -203,7 +203,7 @@
"x": 29, "x": 29,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_2F_EventScript_161660" "script": "SilphCo_2F_EventScript_FloorSign"
} }
] ]
} }
+14 -16
View File
@@ -9,30 +9,28 @@ SilphCo_2F_OnLoad:: @ 8161647
SilphCo_2F_EventScript_ThunderWaveTutor:: @ 816165A SilphCo_2F_EventScript_ThunderWaveTutor:: @ 816165A
goto EventScript_ThunderWaveTutor goto EventScript_ThunderWaveTutor
EventScript_16165F:: @ 816165F
end end
SilphCo_2F_EventScript_161660:: @ 8161660 SilphCo_2F_EventScript_FloorSign:: @ 8161660
msgbox gUnknown_8175894, MSGBOX_SIGN msgbox SilphCo_2F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_2F_EventScript_161669:: @ 8161669 SilphCo_2F_EventScript_Connor:: @ 8161669
trainerbattle_single TRAINER_SCIENTIST_CONNOR, Text_175562, Text_17557E trainerbattle_single TRAINER_SCIENTIST_CONNOR, SilphCo_2F_Text_ConnorIntro, SilphCo_2F_Text_ConnorDefeat
msgbox gUnknown_817559F, MSGBOX_AUTOCLOSE msgbox SilphCo_2F_Text_ConnorPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_2F_EventScript_161680:: @ 8161680 SilphCo_2F_EventScript_Jerry:: @ 8161680
trainerbattle_single TRAINER_SCIENTIST_JERRY, Text_1755C6, Text_1755E5 trainerbattle_single TRAINER_SCIENTIST_JERRY, SilphCo_2F_Text_JerryIntro, SilphCo_2F_Text_JerryDefeat
msgbox gUnknown_81755F2, MSGBOX_AUTOCLOSE msgbox SilphCo_2F_Text_JerryPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_2F_EventScript_161697:: @ 8161697 SilphCo_2F_EventScript_Grunt1:: @ 8161697
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_23, Text_17562D, Text_17564A trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_23, SilphCo_2F_Text_Grunt1Intro, SilphCo_2F_Text_Grunt1Defeat
msgbox gUnknown_8175651, MSGBOX_AUTOCLOSE msgbox SilphCo_2F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_2F_EventScript_1616AE:: @ 81616AE SilphCo_2F_EventScript_Grunt2:: @ 81616AE
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_24, Text_1756AD, Text_1756D8 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_24, SilphCo_2F_Text_Grunt2Intro, SilphCo_2F_Text_Grunt2Defeat
msgbox gUnknown_81756E2, MSGBOX_AUTOCLOSE msgbox SilphCo_2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+13 -13
View File
@@ -1,46 +1,46 @@
Text_175562:: @ 8175562 SilphCo_2F_Text_ConnorIntro:: @ 8175562
.string "Help!\n" .string "Help!\n"
.string "I'm a SILPH employee.$" .string "I'm a SILPH employee.$"
Text_17557E:: @ 817557E SilphCo_2F_Text_ConnorDefeat:: @ 817557E
.string "How did you know\n" .string "How did you know\n"
.string "I was a ROCKET?$" .string "I was a ROCKET?$"
gUnknown_817559F:: @ 817559F SilphCo_2F_Text_ConnorPostBattle:: @ 817559F
.string "I work for both SILPH and TEAM\n" .string "I work for both SILPH and TEAM\n"
.string "ROCKET.$" .string "ROCKET.$"
Text_1755C6:: @ 81755C6 SilphCo_2F_Text_JerryIntro:: @ 81755C6
.string "It's off-limits here!\n" .string "It's off-limits here!\n"
.string "Go home!$" .string "Go home!$"
Text_1755E5:: @ 81755E5 SilphCo_2F_Text_JerryDefeat:: @ 81755E5
.string "You're good.$" .string "You're good.$"
gUnknown_81755F2:: @ 81755F2 SilphCo_2F_Text_JerryPostBattle:: @ 81755F2
.string "Can you solve the maze in here?\n" .string "Can you solve the maze in here?\n"
.string "It's not easy, I tell you!$" .string "It's not easy, I tell you!$"
Text_17562D:: @ 817562D SilphCo_2F_Text_Grunt1Intro:: @ 817562D
.string "No kids are allowed in here!$" .string "No kids are allowed in here!$"
Text_17564A:: @ 817564A SilphCo_2F_Text_Grunt1Defeat:: @ 817564A
.string "Tough!$" .string "Tough!$"
gUnknown_8175651:: @ 8175651 SilphCo_2F_Text_Grunt1PostBattle:: @ 8175651
.string "Diamond-shaped tiles are teleport\n" .string "Diamond-shaped tiles are teleport\n"
.string "blocks.\p" .string "blocks.\p"
.string "They're transporters for this\n" .string "They're transporters for this\n"
.string "high-tech building.$" .string "high-tech building.$"
Text_1756AD:: @ 81756AD SilphCo_2F_Text_Grunt2Intro:: @ 81756AD
.string "Hey, kid!\n" .string "Hey, kid!\n"
.string "What are you wandering here for?$" .string "What are you wandering here for?$"
Text_1756D8:: @ 81756D8 SilphCo_2F_Text_Grunt2Defeat:: @ 81756D8
.string "I goofed!$" .string "I goofed!$"
gUnknown_81756E2:: @ 81756E2 SilphCo_2F_Text_Grunt2PostBattle:: @ 81756E2
.string "SILPH CO. will be associated with\n" .string "SILPH CO. will be associated with\n"
.string "TEAM ROCKET!$" .string "TEAM ROCKET!$"
@@ -68,7 +68,7 @@ Text_ThunderWaveTaught:: @ 81757EC
.string "It's an ELECTRIC-type move, so it\n" .string "It's an ELECTRIC-type move, so it\n"
.string "won't work on some POKéMON.$" .string "won't work on some POKéMON.$"
gUnknown_8175894:: @ 8175894 SilphCo_2F_Text_FloorSign:: @ 8175894
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "2F$" .string "2F$"
+4 -4
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_3F_EventScript_16171F", "script": "SilphCo_3F_EventScript_Grunt",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_3F_EventScript_1616DE", "script": "SilphCo_3F_EventScript_WorkerM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_3F_EventScript_161708", "script": "SilphCo_3F_EventScript_Jose",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -211,7 +211,7 @@
"x": 29, "x": 29,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_3F_EventScript_1616FF" "script": "SilphCo_3F_EventScript_FloorSign"
} }
] ]
} }
+13 -13
View File
@@ -7,30 +7,30 @@ SilphCo_3F_OnLoad:: @ 81616CB
call_if_unset FLAG_SILPH_3F_DOOR_2, EventScript_Close3FDoor2 call_if_unset FLAG_SILPH_3F_DOOR_2, EventScript_Close3FDoor2
end end
SilphCo_3F_EventScript_1616DE:: @ 81616DE SilphCo_3F_EventScript_WorkerM:: @ 81616DE
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_1616F5 goto_if_ge SilphCo_3F_EventScript_WorkerMRocketsGone
msgbox gUnknown_81758AD msgbox SilphCo_3F_Text_WhatAmIToDo
release release
end end
EventScript_1616F5:: @ 81616F5 SilphCo_3F_EventScript_WorkerMRocketsGone:: @ 81616F5
msgbox gUnknown_81758D3 msgbox SilphCo_3F_Text_YouAndYourMonsSavedUs
release release
end end
SilphCo_3F_EventScript_1616FF:: @ 81616FF SilphCo_3F_EventScript_FloorSign:: @ 81616FF
msgbox gUnknown_81759DC, MSGBOX_SIGN msgbox SilphCo_3F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_3F_EventScript_161708:: @ 8161708 SilphCo_3F_EventScript_Jose:: @ 8161708
trainerbattle_single TRAINER_SCIENTIST_JOSE, Text_175948, Text_17597D trainerbattle_single TRAINER_SCIENTIST_JOSE, SilphCo_3F_Text_JoseIntro, SilphCo_3F_Text_JoseDefeat
msgbox gUnknown_8175990, MSGBOX_AUTOCLOSE msgbox SilphCo_3F_Text_JosePostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_3F_EventScript_16171F:: @ 816171F SilphCo_3F_EventScript_Grunt:: @ 816171F
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_25, Text_1758F6, Text_175911 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_25, SilphCo_3F_Text_GruntIntro, SilphCo_3F_Text_GruntDefeat
msgbox gUnknown_817591C, MSGBOX_AUTOCLOSE msgbox SilphCo_3F_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
end end
+9 -9
View File
@@ -1,34 +1,34 @@
gUnknown_81758AD:: @ 81758AD SilphCo_3F_Text_WhatAmIToDo:: @ 81758AD
.string "I work for SILPH CO.\n" .string "I work for SILPH CO.\n"
.string "What am I to do?$" .string "What am I to do?$"
gUnknown_81758D3:: @ 81758D3 SilphCo_3F_Text_YouAndYourMonsSavedUs:: @ 81758D3
.string "{PLAYER}!\n" .string "{PLAYER}!\n"
.string "You and your POKéMON saved us!$" .string "You and your POKéMON saved us!$"
Text_1758F6:: @ 81758F6 SilphCo_3F_Text_GruntIntro:: @ 81758F6
.string "Quit messing with us, kid!$" .string "Quit messing with us, kid!$"
Text_175911:: @ 8175911 SilphCo_3F_Text_GruntDefeat:: @ 8175911
.string "I give up!$" .string "I give up!$"
gUnknown_817591C:: @ 817591C SilphCo_3F_Text_GruntPostBattle:: @ 817591C
.string "A hint? You can open doors with\n" .string "A hint? You can open doors with\n"
.string "a CARD KEY!$" .string "a CARD KEY!$"
Text_175948:: @ 8175948 SilphCo_3F_Text_JoseIntro:: @ 8175948
.string "I support TEAM ROCKET more than\n" .string "I support TEAM ROCKET more than\n"
.string "I support SILPH CO.!$" .string "I support SILPH CO.!$"
Text_17597D:: @ 817597D SilphCo_3F_Text_JoseDefeat:: @ 817597D
.string "You really got me!$" .string "You really got me!$"
gUnknown_8175990:: @ 8175990 SilphCo_3F_Text_JosePostBattle:: @ 8175990
.string "Humph…\p" .string "Humph…\p"
.string "TEAM ROCKET said that if I helped\n" .string "TEAM ROCKET said that if I helped\n"
.string "them, they'd let me study POKéMON.$" .string "them, they'd let me study POKéMON.$"
gUnknown_81759DC:: @ 81759DC SilphCo_3F_Text_FloorSign:: @ 81759DC
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "3F$" .string "3F$"
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_4F_EventScript_1617A7", "script": "SilphCo_4F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_4F_EventScript_161790", "script": "SilphCo_4F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_4F_EventScript_161779", "script": "SilphCo_4F_EventScript_Rodney",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_4F_EventScript_16174F", "script": "SilphCo_4F_EventScript_WorkerM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -242,7 +242,7 @@
"x": 29, "x": 29,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_4F_EventScript_161770" "script": "SilphCo_4F_EventScript_FloorSign"
} }
] ]
} }
+16 -16
View File
@@ -7,35 +7,35 @@ SilphCo_4F_OnLoad:: @ 816173C
call_if_unset FLAG_SILPH_4F_DOOR_2, EventScript_Close4FDoor2 call_if_unset FLAG_SILPH_4F_DOOR_2, EventScript_Close4FDoor2
end end
SilphCo_4F_EventScript_16174F:: @ 816174F SilphCo_4F_EventScript_WorkerM:: @ 816174F
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161766 goto_if_ge SilphCo_4F_EventScript_WorkerMRocketsGone
msgbox gUnknown_81759F5 msgbox SilphCo_4F_Text_CantYouSeeImHiding
release release
end end
EventScript_161766:: @ 8161766 SilphCo_4F_EventScript_WorkerMRocketsGone:: @ 8161766
msgbox gUnknown_8175A15 msgbox SilphCo_4F_Text_TeamRocketIsGone
release release
end end
SilphCo_4F_EventScript_161770:: @ 8161770 SilphCo_4F_EventScript_FloorSign:: @ 8161770
msgbox gUnknown_8175B57, MSGBOX_SIGN msgbox SilphCo_4F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_4F_EventScript_161779:: @ 8161779 SilphCo_4F_EventScript_Rodney:: @ 8161779
trainerbattle_single TRAINER_SCIENTIST_RODNEY, Text_175A90, Text_175AB0 trainerbattle_single TRAINER_SCIENTIST_RODNEY, SilphCo_4F_Text_RodneyIntro, SilphCo_4F_Text_RodneyDefeat
msgbox gUnknown_8175AC8, MSGBOX_AUTOCLOSE msgbox SilphCo_4F_Text_RodneyPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_4F_EventScript_161790:: @ 8161790 SilphCo_4F_EventScript_Grunt1:: @ 8161790
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_26, Text_175A2F, Text_175A5B trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_26, SilphCo_4F_Text_Grunt1Intro, SilphCo_4F_Text_Grunt1Defeat
msgbox gUnknown_8175A62, MSGBOX_AUTOCLOSE msgbox SilphCo_4F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_4F_EventScript_1617A7:: @ 81617A7 SilphCo_4F_EventScript_Grunt2:: @ 81617A7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_27, Text_175B19, Text_175B2B trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_27, SilphCo_4F_Text_Grunt2Intro, SilphCo_4F_Text_Grunt2Defeat
msgbox gUnknown_8175B38, MSGBOX_AUTOCLOSE msgbox SilphCo_4F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+12 -12
View File
@@ -1,45 +1,45 @@
gUnknown_81759F5:: @ 81759F5 SilphCo_4F_Text_CantYouSeeImHiding:: @ 81759F5
.string "Sssh!\n" .string "Sssh!\n"
.string "Can't you see I'm hiding?$" .string "Can't you see I'm hiding?$"
gUnknown_8175A15:: @ 8175A15 SilphCo_4F_Text_TeamRocketIsGone:: @ 8175A15
.string "Huh?\n" .string "Huh?\n"
.string "TEAM ROCKET is gone?$" .string "TEAM ROCKET is gone?$"
Text_175A2F:: @ 8175A2F SilphCo_4F_Text_Grunt1Intro:: @ 8175A2F
.string "TEAM ROCKET has taken control\n" .string "TEAM ROCKET has taken control\n"
.string "of SILPH CO.!$" .string "of SILPH CO.!$"
Text_175A5B:: @ 8175A5B SilphCo_4F_Text_Grunt1Defeat:: @ 8175A5B
.string "Arrgh!$" .string "Arrgh!$"
gUnknown_8175A62:: @ 8175A62 SilphCo_4F_Text_Grunt1PostBattle:: @ 8175A62
.string "Fwahahaha!\n" .string "Fwahahaha!\n"
.string "My BOSS has been after this place!$" .string "My BOSS has been after this place!$"
Text_175A90:: @ 8175A90 SilphCo_4F_Text_RodneyIntro:: @ 8175A90
.string "My POKéMON is my loyal servant.$" .string "My POKéMON is my loyal servant.$"
Text_175AB0:: @ 8175AB0 SilphCo_4F_Text_RodneyDefeat:: @ 8175AB0
.string "Darn!\n" .string "Darn!\n"
.string "You weak POKéMON!$" .string "You weak POKéMON!$"
gUnknown_8175AC8:: @ 8175AC8 SilphCo_4F_Text_RodneyPostBattle:: @ 8175AC8
.string "The doors are electronically\n" .string "The doors are electronically\n"
.string "locked.\p" .string "locked.\p"
.string "It takes a CARD KEY to open the\n" .string "It takes a CARD KEY to open the\n"
.string "doors here.$" .string "doors here.$"
Text_175B19:: @ 8175B19 SilphCo_4F_Text_Grunt2Intro:: @ 8175B19
.string "Intruder spotted!$" .string "Intruder spotted!$"
Text_175B2B:: @ 8175B2B SilphCo_4F_Text_Grunt2Defeat:: @ 8175B2B
.string "Who are you?$" .string "Who are you?$"
gUnknown_8175B38:: @ 8175B38 SilphCo_4F_Text_Grunt2PostBattle:: @ 8175B38
.string "I better tell the BOSS on 11F!$" .string "I better tell the BOSS on 11F!$"
gUnknown_8175B57:: @ 8175B57 SilphCo_4F_Text_FloorSign:: @ 8175B57
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "4F$" .string "4F$"
+10 -10
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_5F_EventScript_161853", "script": "SilphCo_5F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_5F_EventScript_16186A", "script": "SilphCo_5F_EventScript_Dalton",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_5F_EventScript_1617E0", "script": "SilphCo_5F_EventScript_WorkerM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_5F_EventScript_161825", "script": "SilphCo_5F_EventScript_Beau",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_5F_EventScript_16183C", "script": "SilphCo_5F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -127,7 +127,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_5F_EventScript_1AD0D4", "script": "SilphCo_5F_EventScript_Scientist",
"flag": "0" "flag": "0"
} }
], ],
@@ -283,21 +283,21 @@
"x": 28, "x": 28,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "SilphCo_5F_EventScript_161813" "script": "SilphCo_5F_EventScript_PokemonReport3"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 30, "x": 30,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "SilphCo_5F_EventScript_16180A" "script": "SilphCo_5F_EventScript_PokemonReport2"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 25, "x": 25,
"y": 15, "y": 15,
"elevation": 0, "elevation": 0,
"script": "SilphCo_5F_EventScript_161801" "script": "SilphCo_5F_EventScript_PokemonReport1"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
@@ -314,7 +314,7 @@
"x": 29, "x": 29,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_5F_EventScript_16181C" "script": "SilphCo_5F_EventScript_FloorSign"
} }
] ]
} }
+25 -25
View File
@@ -8,52 +8,52 @@ SilphCo_5F_OnLoad:: @ 81617C4
call_if_unset FLAG_SILPH_5F_DOOR_3, EventScript_Close5FDoor3 call_if_unset FLAG_SILPH_5F_DOOR_3, EventScript_Close5FDoor3
end end
SilphCo_5F_EventScript_1617E0:: @ 81617E0 SilphCo_5F_EventScript_WorkerM:: @ 81617E0
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_1617F7 goto_if_ge SilphCo_5F_EventScript_WorkerMRocketsGone
msgbox gUnknown_8175B70 msgbox SilphCo_5F_Text_RocketsInUproarAboutIntruder
release release
end end
EventScript_1617F7:: @ 81617F7 SilphCo_5F_EventScript_WorkerMRocketsGone:: @ 81617F7
msgbox gUnknown_8175BB3 msgbox SilphCo_5F_Text_YoureOurHeroThankYou
release release
end end
SilphCo_5F_EventScript_161801:: @ 8161801 SilphCo_5F_EventScript_PokemonReport1:: @ 8161801
msgbox gUnknown_8175D89, MSGBOX_SIGN msgbox SilphCo_5F_Text_PorygonFirstVRMon, MSGBOX_SIGN
end end
SilphCo_5F_EventScript_16180A:: @ 816180A SilphCo_5F_EventScript_PokemonReport2:: @ 816180A
msgbox gUnknown_8175DE0, MSGBOX_SIGN msgbox SilphCo_5F_Text_Over350TechniquesConfirmed, MSGBOX_SIGN
end end
SilphCo_5F_EventScript_161813:: @ 8161813 SilphCo_5F_EventScript_PokemonReport3:: @ 8161813
msgbox gUnknown_8175E28, MSGBOX_SIGN msgbox SilphCo_5F_Text_SomeMonsEvolveWhenTraded, MSGBOX_SIGN
end end
SilphCo_5F_EventScript_16181C:: @ 816181C SilphCo_5F_EventScript_FloorSign:: @ 816181C
msgbox gUnknown_8175E80, MSGBOX_SIGN msgbox SilphCo_5F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_5F_EventScript_161825:: @ 8161825 SilphCo_5F_EventScript_Beau:: @ 8161825
trainerbattle_single TRAINER_SCIENTIST_BEAU, Text_175C40, Text_175C6D trainerbattle_single TRAINER_SCIENTIST_BEAU, SilphCo_5F_Text_BeauIntro, SilphCo_5F_Text_BeauDefeat
msgbox gUnknown_8175C7D, MSGBOX_AUTOCLOSE msgbox SilphCo_5F_Text_BeauPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_5F_EventScript_16183C:: @ 816183C SilphCo_5F_EventScript_Grunt1:: @ 816183C
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_28, Text_175BE5, Text_175C09 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_28, SilphCo_5F_Text_Grunt1Intro, SilphCo_5F_Text_Grunt1Defeat
msgbox gUnknown_8175C0F, MSGBOX_AUTOCLOSE msgbox SilphCo_5F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_5F_EventScript_161853:: @ 8161853 SilphCo_5F_EventScript_Grunt2:: @ 8161853
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_29, Text_175D28, Text_175D4B trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_29, SilphCo_5F_Text_Grunt2Intro, SilphCo_5F_Text_Grunt2Defeat
msgbox gUnknown_8175D59, MSGBOX_AUTOCLOSE msgbox SilphCo_5F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_5F_EventScript_16186A:: @ 816186A SilphCo_5F_EventScript_Dalton:: @ 816186A
trainerbattle_single TRAINER_JUGGLER_DALTON, Text_175CBD, Text_175CEB trainerbattle_single TRAINER_JUGGLER_DALTON, SilphCo_5F_Text_DaltonIntro, SilphCo_5F_Text_DaltonDefeat
msgbox gUnknown_8175CF9, MSGBOX_AUTOCLOSE msgbox SilphCo_5F_Text_DaltonPostBattle, MSGBOX_AUTOCLOSE
end end
+25 -18
View File
@@ -1,74 +1,81 @@
gUnknown_8175B70:: @ 8175B70 SilphCo_5F_Text_RocketsInUproarAboutIntruder:: @ 8175B70
.string "TEAM ROCKET is in an uproar over\n" .string "TEAM ROCKET is in an uproar over\n"
.string "some intruder.\p" .string "some intruder.\p"
.string "That's you, right?$" .string "That's you, right?$"
gUnknown_8175BB3:: @ 8175BB3 SilphCo_5F_Text_YoureOurHeroThankYou:: @ 8175BB3
.string "TEAM ROCKET took off!\n" .string "TEAM ROCKET took off!\n"
.string "You're our hero! Thank you!$" .string "You're our hero! Thank you!$"
Text_175BE5:: @ 8175BE5 SilphCo_5F_Text_Grunt1Intro:: @ 8175BE5
.string "I heard a kid was wandering\n" .string "I heard a kid was wandering\n"
.string "around.$" .string "around.$"
Text_175C09:: @ 8175C09 SilphCo_5F_Text_Grunt1Defeat:: @ 8175C09
.string "Boom!$" .string "Boom!$"
gUnknown_8175C0F:: @ 8175C0F SilphCo_5F_Text_Grunt1PostBattle:: @ 8175C0F
.string "It's not smart to pick a fight with\n" .string "It's not smart to pick a fight with\n"
.string "TEAM ROCKET!$" .string "TEAM ROCKET!$"
Text_175C40:: @ 8175C40 SilphCo_5F_Text_BeauIntro:: @ 8175C40
.string "We study POKé BALL technology on\n" .string "We study POKé BALL technology on\n"
.string "this floor.$" .string "this floor.$"
Text_175C6D:: @ 8175C6D SilphCo_5F_Text_BeauDefeat:: @ 8175C6D
.string "Dang!\n" .string "Dang!\n"
.string "Blast it!$" .string "Blast it!$"
gUnknown_8175C7D:: @ 8175C7D SilphCo_5F_Text_BeauPostBattle:: @ 8175C7D
.string "We worked on the ultimate POKé\n" .string "We worked on the ultimate POKé\n"
.string "BALL which would catch anything.$" .string "BALL which would catch anything.$"
Text_175CBD:: @ 8175CBD SilphCo_5F_Text_DaltonIntro:: @ 8175CBD
.string "Whaaat?\p" .string "Whaaat?\p"
.string "There shouldn't be any children\n" .string "There shouldn't be any children\n"
.string "here!$" .string "here!$"
Text_175CEB:: @ 8175CEB SilphCo_5F_Text_DaltonDefeat:: @ 8175CEB
.string "Oh, goodness!$" .string "Oh, goodness!$"
gUnknown_8175CF9:: @ 8175CF9 SilphCo_5F_Text_DaltonPostBattle:: @ 8175CF9
.string "You're only on 5F.\n" .string "You're only on 5F.\n"
.string "It's a long way to my BOSS!$" .string "It's a long way to my BOSS!$"
Text_175D28:: @ 8175D28 SilphCo_5F_Text_Grunt2Intro:: @ 8175D28
.string "Show TEAM ROCKET a little respect!$" .string "Show TEAM ROCKET a little respect!$"
Text_175D4B:: @ 8175D4B SilphCo_5F_Text_Grunt2Defeat:: @ 8175D4B
.string "Cough…\n" .string "Cough…\n"
.string "Cough…$" .string "Cough…$"
gUnknown_8175D59:: @ 8175D59 SilphCo_5F_Text_Grunt2PostBattle:: @ 8175D59
.string "Which reminds me.\p" .string "Which reminds me.\p"
.string "KOFFING evolves into WEEZING!$" .string "KOFFING evolves into WEEZING!$"
gUnknown_8175D89:: @ 8175D89 SilphCo_5F_Text_PorygonFirstVRMon:: @ 8175D89
.string "It's a POKéMON REPORT!\p" .string "It's a POKéMON REPORT!\p"
.string "POKéMON LAB created PORYGON,\n" .string "POKéMON LAB created PORYGON,\n"
.string "the first virtual-reality POKéMON.$" .string "the first virtual-reality POKéMON.$"
gUnknown_8175DE0:: @ 8175DE0 SilphCo_5F_Text_Over350TechniquesConfirmed:: @ 8175DE0
.string "It's a POKéMON REPORT!\p" .string "It's a POKéMON REPORT!\p"
.string "Over 350 POKéMON techniques have\n" .string "Over 350 POKéMON techniques have\n"
.string "been confirmed.$" .string "been confirmed.$"
gUnknown_8175E28:: @ 8175E28 SilphCo_5F_Text_SomeMonsEvolveWhenTraded:: @ 8175E28
.string "It's a POKéMON REPORT!\p" .string "It's a POKéMON REPORT!\p"
.string "Some POKéMON have been confirmed\n" .string "Some POKéMON have been confirmed\n"
.string "to evolve when they are traded.$" .string "to evolve when they are traded.$"
gUnknown_8175E80:: @ 8175E80 SilphCo_5F_Text_FloorSign:: @ 8175E80
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "5F$" .string "5F$"
SilphCo_5F_Text_RocketBossLookingForStrongMons:: @ 8175E99
.string "Those thugs that took over our\n"
.string "building…\p"
.string "Their BOSS said he was looking for\n"
.string "strong POKéMON.\p"
.string "I hope our PRESIDENT managed to\n"
.string "avoid trouble…$"
+9 -9
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_6F_EventScript_161956", "script": "SilphCo_6F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_6F_EventScript_1618D3", "script": "SilphCo_6F_EventScript_WorkerM1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_6F_EventScript_1618F4", "script": "SilphCo_6F_EventScript_WorkerF1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_6F_EventScript_161891", "script": "SilphCo_6F_EventScript_WorkerM2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_6F_EventScript_1618B2", "script": "SilphCo_6F_EventScript_WorkerM3",
"flag": "0" "flag": "0"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_6F_EventScript_161915", "script": "SilphCo_6F_EventScript_WorkerF2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -101,7 +101,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_6F_EventScript_16193F", "script": "SilphCo_6F_EventScript_Taylor",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -140,7 +140,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_6F_EventScript_16196D", "script": "SilphCo_6F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
} }
], ],
@@ -226,7 +226,7 @@
"x": 25, "x": 25,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_6F_EventScript_161936" "script": "SilphCo_6F_EventScript_FloorSign"
} }
] ]
} }
+36 -36
View File
@@ -6,91 +6,91 @@ SilphCo_6F_OnLoad:: @ 8161887
call_if_unset FLAG_SILPH_6F_DOOR, EventScript_Close6FDoor call_if_unset FLAG_SILPH_6F_DOOR, EventScript_Close6FDoor
end end
SilphCo_6F_EventScript_161891:: @ 8161891 SilphCo_6F_EventScript_WorkerM2:: @ 8161891
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_1618A8 goto_if_ge SilphCo_6F_EventScript_WorkerM2RocketsGone
msgbox gUnknown_817607E msgbox SilphCo_6F_Text_TargetedSilphForOurMonProducts
release release
end end
EventScript_1618A8:: @ 81618A8 SilphCo_6F_EventScript_WorkerM2RocketsGone:: @ 81618A8
msgbox gUnknown_81760B6 msgbox SilphCo_6F_Text_ComeWorkForSilphWhenYoureOlder
release release
end end
SilphCo_6F_EventScript_1618B2:: @ 81618B2 SilphCo_6F_EventScript_WorkerM3:: @ 81618B2
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_1618C9 goto_if_ge SilphCo_6F_EventScript_WorkerM3RocketsGone
msgbox gUnknown_8175F24 msgbox SilphCo_6F_Text_RocketsTookOverBuilding
release release
end end
EventScript_1618C9:: @ 81618C9 SilphCo_6F_EventScript_WorkerM3RocketsGone:: @ 81618C9
msgbox gUnknown_8175F51 msgbox SilphCo_6F_Text_BetterGetBackToWork
release release
end end
SilphCo_6F_EventScript_1618D3:: @ 81618D3 SilphCo_6F_EventScript_WorkerM1:: @ 81618D3
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_1618EA goto_if_ge SilphCo_6F_EventScript_WorkerM1RocketsGone
msgbox gUnknown_8175F70 msgbox SilphCo_6F_Text_HelpMePlease
release release
end end
EventScript_1618EA:: @ 81618EA SilphCo_6F_EventScript_WorkerM1RocketsGone:: @ 81618EA
msgbox gUnknown_8175F93 msgbox SilphCo_6F_Text_WeGotEngaged
release release
end end
SilphCo_6F_EventScript_1618F4:: @ 81618F4 SilphCo_6F_EventScript_WorkerF1:: @ 81618F4
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_16190B goto_if_ge SilphCo_6F_EventScript_WorkerF1RocketsGone
msgbox gUnknown_8175FAA msgbox SilphCo_6F_Text_ThatManIsSuchACoward
release release
end end
EventScript_16190B:: @ 816190B SilphCo_6F_EventScript_WorkerF1RocketsGone:: @ 816190B
msgbox gUnknown_8175FD3 msgbox SilphCo_6F_Text_NeedsMeToLookAfterHim
release release
end end
SilphCo_6F_EventScript_161915:: @ 8161915 SilphCo_6F_EventScript_WorkerF2:: @ 8161915
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_16192C goto_if_ge SilphCo_6F_EventScript_WorkerF2RocketsGone
msgbox gUnknown_8176012 msgbox SilphCo_6F_Text_RocketsTryingToConquerWorld
release release
end end
EventScript_16192C:: @ 816192C SilphCo_6F_EventScript_WorkerF2RocketsGone:: @ 816192C
msgbox gUnknown_817604B msgbox SilphCo_6F_Text_RocketsRanAwayBecauseOfYou
release release
end end
SilphCo_6F_EventScript_161936:: @ 8161936 SilphCo_6F_EventScript_FloorSign:: @ 8161936
msgbox gUnknown_817624D, MSGBOX_SIGN msgbox SilphCo_6F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_6F_EventScript_16193F:: @ 816193F SilphCo_6F_EventScript_Taylor:: @ 816193F
trainerbattle_single TRAINER_SCIENTIST_TAYLOR, Text_176136, Text_1761BD trainerbattle_single TRAINER_SCIENTIST_TAYLOR, SilphCo_6F_Text_TaylorIntro, SilphCo_6F_Text_TaylorDefeat
msgbox gUnknown_81761C4, MSGBOX_AUTOCLOSE msgbox SilphCo_6F_Text_TaylorPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_6F_EventScript_161956:: @ 8161956 SilphCo_6F_EventScript_Grunt1:: @ 8161956
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_30, Text_1760DE, Text_176104 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_30, SilphCo_6F_Text_Grunt1Intro, SilphCo_6F_Text_Grunt1Defeat
msgbox gUnknown_817610F, MSGBOX_AUTOCLOSE msgbox SilphCo_6F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_6F_EventScript_16196D:: @ 816196D SilphCo_6F_EventScript_Grunt2:: @ 816196D
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_31, Text_1761F1, Text_17620E trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_31, SilphCo_6F_Text_Grunt2Intro, SilphCo_6F_Text_Grunt2Defeat
msgbox gUnknown_817621B, MSGBOX_AUTOCLOSE msgbox SilphCo_6F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+20 -28
View File
@@ -1,86 +1,78 @@
Text_175E99:: @ 8175E99 SilphCo_6F_Text_RocketsTookOverBuilding:: @ 8175F24
.string "Those thugs that took over our\n"
.string "building…\p"
.string "Their BOSS said he was looking for\n"
.string "strong POKéMON.\p"
.string "I hope our PRESIDENT managed to\n"
.string "avoid trouble…$"
gUnknown_8175F24:: @ 8175F24
.string "The ROCKETS came and took over\n" .string "The ROCKETS came and took over\n"
.string "the building!$" .string "the building!$"
gUnknown_8175F51:: @ 8175F51 SilphCo_6F_Text_BetterGetBackToWork:: @ 8175F51
.string "Well, better get back to work.$" .string "Well, better get back to work.$"
gUnknown_8175F70:: @ 8175F70 SilphCo_6F_Text_HelpMePlease:: @ 8175F70
.string "Oh dear, oh dear.\n" .string "Oh dear, oh dear.\n"
.string "Help me, please!$" .string "Help me, please!$"
gUnknown_8175F93:: @ 8175F93 SilphCo_6F_Text_WeGotEngaged:: @ 8175F93
.string "We got engaged.\n" .string "We got engaged.\n"
.string "Heheh!$" .string "Heheh!$"
gUnknown_8175FAA:: @ 8175FAA SilphCo_6F_Text_ThatManIsSuchACoward:: @ 8175FAA
.string "That man next to me…\n" .string "That man next to me…\n"
.string "He's such a coward!$" .string "He's such a coward!$"
gUnknown_8175FD3:: @ 8175FD3 SilphCo_6F_Text_NeedsMeToLookAfterHim:: @ 8175FD3
.string "He's so helpless, he needed\n" .string "He's so helpless, he needed\n"
.string "someone like me to look after him.$" .string "someone like me to look after him.$"
gUnknown_8176012:: @ 8176012 SilphCo_6F_Text_RocketsTryingToConquerWorld:: @ 8176012
.string "TEAM ROCKET is trying to conquer\n" .string "TEAM ROCKET is trying to conquer\n"
.string "the world with POKéMON.$" .string "the world with POKéMON.$"
gUnknown_817604B:: @ 817604B SilphCo_6F_Text_RocketsRanAwayBecauseOfYou:: @ 817604B
.string "TEAM ROCKET ran away, and it's all\n" .string "TEAM ROCKET ran away, and it's all\n"
.string "because of you!$" .string "because of you!$"
gUnknown_817607E:: @ 817607E SilphCo_6F_Text_TargetedSilphForOurMonProducts:: @ 817607E
.string "They must have targeted SILPH for\n" .string "They must have targeted SILPH for\n"
.string "our POKéMON products.$" .string "our POKéMON products.$"
gUnknown_81760B6:: @ 81760B6 SilphCo_6F_Text_ComeWorkForSilphWhenYoureOlder:: @ 81760B6
.string "Come work for SILPH when you\n" .string "Come work for SILPH when you\n"
.string "get older.$" .string "get older.$"
Text_1760DE:: @ 81760DE SilphCo_6F_Text_Grunt1Intro:: @ 81760DE
.string "I am one of the four ROCKET\n" .string "I am one of the four ROCKET\n"
.string "BROTHERS!$" .string "BROTHERS!$"
Text_176104:: @ 8176104 SilphCo_6F_Text_Grunt1Defeat:: @ 8176104
.string "Flame out!$" .string "Flame out!$"
gUnknown_817610F:: @ 817610F SilphCo_6F_Text_Grunt1PostBattle:: @ 817610F
.string "No matter!\n" .string "No matter!\n"
.string "My brothers will avenge me!$" .string "My brothers will avenge me!$"
Text_176136:: @ 8176136 SilphCo_6F_Text_TaylorIntro:: @ 8176136
.string "That rotten PRESIDENT!\p" .string "That rotten PRESIDENT!\p"
.string "Serves him right for shipping me\n" .string "Serves him right for shipping me\n"
.string "off to the TIKSI BRANCH!\p" .string "off to the TIKSI BRANCH!\p"
.string "That's why TEAM ROCKET came after\n" .string "That's why TEAM ROCKET came after\n"
.string "us, I'm sure of it!$" .string "us, I'm sure of it!$"
Text_1761BD:: @ 81761BD SilphCo_6F_Text_TaylorDefeat:: @ 81761BD
.string "Shoot!$" .string "Shoot!$"
gUnknown_81761C4:: @ 81761C4 SilphCo_6F_Text_TaylorPostBattle:: @ 81761C4
.string "TIKSI BRANCH?\n" .string "TIKSI BRANCH?\n"
.string "It's in Russian no-man's-land!$" .string "It's in Russian no-man's-land!$"
Text_1761F1:: @ 81761F1 SilphCo_6F_Text_Grunt2Intro:: @ 81761F1
.string "You dare betray TEAM ROCKET?$" .string "You dare betray TEAM ROCKET?$"
Text_17620E:: @ 817620E SilphCo_6F_Text_Grunt2Defeat:: @ 817620E
.string "You traitor!$" .string "You traitor!$"
gUnknown_817621B:: @ 817621B SilphCo_6F_Text_Grunt2PostBattle:: @ 817621B
.string "If you stand for justice, you\n" .string "If you stand for justice, you\n"
.string "betray us bad guys!$" .string "betray us bad guys!$"
gUnknown_817624D:: @ 817624D SilphCo_6F_Text_FloorSign:: @ 817624D
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "6F$" .string "6F$"
+11 -11
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_7F_EventScript_161AC8", "script": "SilphCo_7F_EventScript_LaprasGuy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_7F_EventScript_161C1A", "script": "SilphCo_7F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_7F_EventScript_161C31", "script": "SilphCo_7F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -75,7 +75,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_7F_EventScript_161C48", "script": "SilphCo_7F_EventScript_Grunt3",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_7F_EventScript_161BD9", "script": "SilphCo_7F_EventScript_WorkerF",
"flag": "0" "flag": "0"
}, },
{ {
@@ -101,7 +101,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_7F_EventScript_161B97", "script": "SilphCo_7F_EventScript_WorkerM1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -114,7 +114,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_7F_EventScript_161BB8", "script": "SilphCo_7F_EventScript_WorkerM2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -127,7 +127,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_7F_EventScript_161C03", "script": "SilphCo_7F_EventScript_Joshua",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -209,7 +209,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_SILPH_CO_7F", "var": "VAR_MAP_SCENE_SILPH_CO_7F",
"var_value": 0, "var_value": 0,
"script": "SilphCo_7F_EventScript_1619BC" "script": "SilphCo_7F_EventScript_RivalTriggerTop"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -218,7 +218,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_MAP_SCENE_SILPH_CO_7F", "var": "VAR_MAP_SCENE_SILPH_CO_7F",
"var_value": 0, "var_value": 0,
"script": "SilphCo_7F_EventScript_1619C8" "script": "SilphCo_7F_EventScript_RivalTriggerBottom"
} }
], ],
"bg_events": [ "bg_events": [
@@ -321,7 +321,7 @@
"x": 20, "x": 20,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_7F_EventScript_161BFA" "script": "SilphCo_7F_EventScript_FloorSign"
} }
] ]
} }
+82 -92
View File
@@ -11,30 +11,26 @@ SilphCo_7F_OnLoad:: @ 816198F
SilphCo_7F_OnTransition:: @ 81619AB SilphCo_7F_OnTransition:: @ 81619AB
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
call_if_ge EventScript_1619B7 call_if_ge SilphCo_7F_EventScript_SetObjRocketsGone
end end
EventScript_1619B7:: @ 81619B7 SilphCo_7F_EventScript_SetObjRocketsGone:: @ 81619B7
setobjectmovementtype 8, 7 setobjectmovementtype 8, MOVEMENT_TYPE_FACE_UP
return return
SilphCo_7F_EventScript_1619BC:: @ 81619BC SilphCo_7F_EventScript_RivalTriggerTop:: @ 81619BC
lockall lockall
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
goto EventScript_1619D4 goto SilphCo_7F_EventScript_RivalScene
EventScript_1619C7:: @ 81619C7
end end
SilphCo_7F_EventScript_1619C8:: @ 81619C8 SilphCo_7F_EventScript_RivalTriggerBottom:: @ 81619C8
lockall lockall
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
goto EventScript_1619D4 goto SilphCo_7F_EventScript_RivalScene
EventScript_1619D3:: @ 81619D3
end end
EventScript_1619D4:: @ 81619D4 SilphCo_7F_EventScript_RivalScene:: @ 81619D4
textcolor 0 textcolor 0
playbgm MUS_RIVAL1, 0 playbgm MUS_RIVAL1, 0
applymovement 1, Movement_ExclamationMark applymovement 1, Movement_ExclamationMark
@@ -42,26 +38,26 @@ EventScript_1619D4:: @ 81619D4
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestDown applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestDown
applymovement 1, Movement_Delay48 applymovement 1, Movement_Delay48
waitmovement 0 waitmovement 0
msgbox gUnknown_8176710 msgbox SilphCo_7F_Text_RivalWhatKeptYou
compare VAR_TEMP_1, 0 compare VAR_TEMP_1, 0
call_if_eq EventScript_161A73 call_if_eq SilphCo_7F_EventScript_RivalApproachTop
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq EventScript_161A7F call_if_eq SilphCo_7F_EventScript_RivalApproachBottom
msgbox gUnknown_8176727 msgbox SilphCo_7F_Text_RivalIntro
setvar VAR_LAST_TALKED, 1 setvar VAR_LAST_TALKED, 1
compare VAR_STARTER_MON, 2 compare VAR_STARTER_MON, 2
call_if_eq EventScript_161A80 call_if_eq SilphCo_7F_EventScript_RivalSquirtle
compare VAR_STARTER_MON, 1 compare VAR_STARTER_MON, 1
call_if_eq EventScript_161A8B call_if_eq SilphCo_7F_EventScript_RivalBulbasaur
compare VAR_STARTER_MON, 0 compare VAR_STARTER_MON, 0
call_if_eq EventScript_161A96 call_if_eq SilphCo_7F_EventScript_RivalCharmander
msgbox gUnknown_8176827 msgbox SilphCo_7F_Text_RivalPostBattle
closemessage closemessage
playbgm MUS_RIVAL2, 0 playbgm MUS_RIVAL2, 0
compare VAR_TEMP_1, 0 compare VAR_TEMP_1, 0
call_if_eq EventScript_161AA1 call_if_eq SilphCo_7F_EventScript_RivalExitTop
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq EventScript_161AAC call_if_eq SilphCo_7F_EventScript_RivalExitBottom
playse SE_TK_WARPIN playse SE_TK_WARPIN
fadedefaultbgm fadedefaultbgm
removeobject 1 removeobject 1
@@ -70,42 +66,42 @@ EventScript_1619D4:: @ 81619D4
releaseall releaseall
end end
EventScript_161A73:: @ 8161A73 SilphCo_7F_EventScript_RivalApproachTop:: @ 8161A73
closemessage closemessage
applymovement 1, Movement_161AB7 applymovement 1, SilphCo_7F_Movement_RivalApproachTop
waitmovement 0 waitmovement 0
return return
EventScript_161A7F:: @ 8161A7F SilphCo_7F_EventScript_RivalApproachBottom:: @ 8161A7F
return return
EventScript_161A80:: @ 8161A80 SilphCo_7F_EventScript_RivalSquirtle:: @ 8161A80
trainerbattle_no_intro TRAINER_RIVAL_SILPH_SQUIRTLE, Text_1767D0 trainerbattle_no_intro TRAINER_RIVAL_SILPH_SQUIRTLE, SilphCo_7F_Text_RivalDefeat
return return
EventScript_161A8B:: @ 8161A8B SilphCo_7F_EventScript_RivalBulbasaur:: @ 8161A8B
trainerbattle_no_intro TRAINER_RIVAL_SILPH_BULBASAUR, Text_1767D0 trainerbattle_no_intro TRAINER_RIVAL_SILPH_BULBASAUR, SilphCo_7F_Text_RivalDefeat
return return
EventScript_161A96:: @ 8161A96 SilphCo_7F_EventScript_RivalCharmander:: @ 8161A96
trainerbattle_no_intro TRAINER_RIVAL_SILPH_CHARMANDER, Text_1767D0 trainerbattle_no_intro TRAINER_RIVAL_SILPH_CHARMANDER, SilphCo_7F_Text_RivalDefeat
return return
EventScript_161AA1:: @ 8161AA1 SilphCo_7F_EventScript_RivalExitTop:: @ 8161AA1
applymovement 1, Movement_161AB9 applymovement 1, SilphCo_7F_Movement_RivalExitTop
waitmovement 0 waitmovement 0
return return
EventScript_161AAC:: @ 8161AAC SilphCo_7F_EventScript_RivalExitBottom:: @ 8161AAC
applymovement 1, Movement_161ABF applymovement 1, SilphCo_7F_Movement_RivalExitBottom
waitmovement 0 waitmovement 0
return return
Movement_161AB7:: @ 8161AB7 SilphCo_7F_Movement_RivalApproachTop:: @ 8161AB7
walk_up walk_up
step_end step_end
Movement_161AB9:: @ 8161AB9 SilphCo_7F_Movement_RivalExitTop:: @ 8161AB9
walk_right walk_right
walk_right walk_right
walk_right walk_right
@@ -113,7 +109,7 @@ Movement_161AB9:: @ 8161AB9
delay_16 delay_16
step_end step_end
Movement_161ABF:: @ 8161ABF SilphCo_7F_Movement_RivalExitBottom:: @ 8161ABF
walk_left walk_left
walk_up walk_up
walk_up walk_up
@@ -124,136 +120,130 @@ Movement_161ABF:: @ 8161ABF
delay_16 delay_16
step_end step_end
SilphCo_7F_EventScript_161AC8:: @ 8161AC8 SilphCo_7F_EventScript_LaprasGuy:: @ 8161AC8
lock lock
faceplayer faceplayer
goto_if_set FLAG_GOT_LAPRAS_FROM_SILPH, EventScript_161B8D goto_if_set FLAG_GOT_LAPRAS_FROM_SILPH, SilphCo_7F_EventScript_AlreadyGotLapras
msgbox gUnknown_8176266 msgbox SilphCo_7F_Text_HaveMonForSavingUs
setvar VAR_TEMP_1, SPECIES_LAPRAS setvar VAR_TEMP_1, SPECIES_LAPRAS
givemon SPECIES_LAPRAS, 25, ITEM_NONE givemon SPECIES_LAPRAS, 25, ITEM_NONE
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq EventScript_161B12 goto_if_eq SilphCo_7F_EventScript_ReceiveLaprasParty
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq EventScript_161B45 goto_if_eq SilphCo_7F_EventScript_ReceiveLaprasPC
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if_eq EventScript_NoMoreRoomForPokemon goto_if_eq EventScript_NoMoreRoomForPokemon
release release
end end
EventScript_161B12:: @ 8161B12 SilphCo_7F_EventScript_ReceiveLaprasParty:: @ 8161B12
textcolor 3 textcolor 3
playfanfare MUS_FANFA1 playfanfare MUS_FANFA1
message Text_1762D7 message SilphCo_7F_Text_ObtainedLaprasFromEmployee
waitmessage waitmessage
waitfanfare waitfanfare
getspeciesname 0, SPECIES_LAPRAS getspeciesname 0, SPECIES_LAPRAS
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_161B7E goto_if_eq SilphCo_7F_EventScript_EndReceiveLapras
call EventScript_GetGiftMonPartySlot call EventScript_GetGiftMonPartySlot
call EventScript_ChangePokemonNickname call EventScript_ChangePokemonNickname
goto EventScript_161B7E goto SilphCo_7F_EventScript_EndReceiveLapras
EventScript_161B44:: @ 8161B44
end end
EventScript_161B45:: @ 8161B45 SilphCo_7F_EventScript_ReceiveLaprasPC:: @ 8161B45
textcolor 3 textcolor 3
playfanfare MUS_FANFA1 playfanfare MUS_FANFA1
message Text_1762D7 message SilphCo_7F_Text_ObtainedLaprasFromEmployee
waitmessage waitmessage
waitfanfare waitfanfare
getspeciesname 0, SPECIES_LAPRAS getspeciesname 0, SPECIES_LAPRAS
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_161B73 goto_if_eq SilphCo_7F_EventScript_LaprasTransferredToPC
call EventScript_NameReceivedBoxMon call EventScript_NameReceivedBoxMon
goto EventScript_161B73 goto SilphCo_7F_EventScript_LaprasTransferredToPC
EventScript_161B72:: @ 8161B72
end end
EventScript_161B73:: @ 8161B73 SilphCo_7F_EventScript_LaprasTransferredToPC:: @ 8161B73
call EventScript_TransferredToPC call EventScript_TransferredToPC
goto EventScript_161B7E goto SilphCo_7F_EventScript_EndReceiveLapras
EventScript_161B7D:: @ 8161B7D
end end
EventScript_161B7E:: @ 8161B7E SilphCo_7F_EventScript_EndReceiveLapras:: @ 8161B7E
textcolor 0 textcolor 0
msgbox gUnknown_8176305 msgbox SilphCo_7F_Text_ExplainLapras
setflag FLAG_GOT_LAPRAS_FROM_SILPH setflag FLAG_GOT_LAPRAS_FROM_SILPH
release release
end end
EventScript_161B8D:: @ 8161B8D SilphCo_7F_EventScript_AlreadyGotLapras:: @ 8161B8D
msgbox gUnknown_81763DD msgbox SilphCo_7F_Text_RocketBossWentToBoardroom
release release
end end
SilphCo_7F_EventScript_161B97:: @ 8161B97 SilphCo_7F_EventScript_WorkerM1:: @ 8161B97
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161BAE goto_if_ge SilphCo_7F_EventScript_WorkerM1RocketsGone
msgbox gUnknown_8176444 msgbox SilphCo_7F_Text_RocketsAfterMasterBall
release release
end end
EventScript_161BAE:: @ 8161BAE SilphCo_7F_EventScript_WorkerM1RocketsGone:: @ 8161BAE
msgbox gUnknown_8176486 msgbox SilphCo_7F_Text_CanceledMasterBallProject
release release
end end
SilphCo_7F_EventScript_161BB8:: @ 8161BB8 SilphCo_7F_EventScript_WorkerM2:: @ 8161BB8
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161BCF goto_if_ge SilphCo_7F_EventScript_WorkerM2RocketsGone
msgbox gUnknown_81764C2 msgbox SilphCo_7F_Text_BadIfTeamRocketTookOver
release release
end end
EventScript_161BCF:: @ 8161BCF SilphCo_7F_EventScript_WorkerM2RocketsGone:: @ 8161BCF
msgbox gUnknown_8176501 msgbox SilphCo_7F_Text_WowYouChasedOffTeamRocket
release release
end end
SilphCo_7F_EventScript_161BD9:: @ 8161BD9 SilphCo_7F_EventScript_WorkerF:: @ 8161BD9
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161BF0 goto_if_ge SilphCo_7F_EventScript_WorkerFRocketsGone
msgbox gUnknown_8176532 msgbox SilphCo_7F_Text_ReallyDangerousHere
release release
end end
EventScript_161BF0:: @ 8161BF0 SilphCo_7F_EventScript_WorkerFRocketsGone:: @ 8161BF0
msgbox gUnknown_8176573 msgbox SilphCo_7F_Text_ThankYouSoMuch
release release
end end
SilphCo_7F_EventScript_161BFA:: @ 8161BFA SilphCo_7F_EventScript_FloorSign:: @ 8161BFA
msgbox gUnknown_8176954, MSGBOX_SIGN msgbox SilphCo_7F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_7F_EventScript_161C03:: @ 8161C03 SilphCo_7F_EventScript_Joshua:: @ 8161C03
trainerbattle_single TRAINER_SCIENTIST_JOSHUA, Text_1765E2, Text_17660C trainerbattle_single TRAINER_SCIENTIST_JOSHUA, SilphCo_7F_Text_JoshuaIntro, SilphCo_7F_Text_JoshuaDefeat
msgbox gUnknown_8176616, MSGBOX_AUTOCLOSE msgbox SilphCo_7F_Text_JoshuaPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_7F_EventScript_161C1A:: @ 8161C1A SilphCo_7F_EventScript_Grunt1:: @ 8161C1A
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_33, Text_176643, Text_176669 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_33, SilphCo_7F_Text_Grunt1Intro, SilphCo_7F_Text_Grunt1Defeat
msgbox gUnknown_8176681, MSGBOX_AUTOCLOSE msgbox SilphCo_7F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_7F_EventScript_161C31:: @ 8161C31 SilphCo_7F_EventScript_Grunt2:: @ 8161C31
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_34, Text_1766B3, Text_1766D7 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_34, SilphCo_7F_Text_Grunt2Intro, SilphCo_7F_Text_Grunt2Defeat
msgbox gUnknown_81766E5, MSGBOX_AUTOCLOSE msgbox SilphCo_7F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_7F_EventScript_161C48:: @ 8161C48 SilphCo_7F_EventScript_Grunt3:: @ 8161C48
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_35, Text_176586, Text_1765A5 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_35, SilphCo_7F_Text_Grunt3Intro, SilphCo_7F_Text_Grunt3Defeat
msgbox gUnknown_81765B1, MSGBOX_AUTOCLOSE msgbox SilphCo_7F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end end
+30 -30
View File
@@ -1,15 +1,15 @@
gUnknown_8176266:: @ 8176266 SilphCo_7F_Text_HaveMonForSavingUs:: @ 8176266
.string "Oh! Hi! You're not a ROCKET!\n" .string "Oh! Hi! You're not a ROCKET!\n"
.string "You came to save us?\l" .string "You came to save us?\l"
.string "Why, thank you!\p" .string "Why, thank you!\p"
.string "I want you to have this POKéMON\n" .string "I want you to have this POKéMON\n"
.string "for saving us.$" .string "for saving us.$"
Text_1762D7:: @ 81762D7 SilphCo_7F_Text_ObtainedLaprasFromEmployee:: @ 81762D7
.string "{PLAYER} obtained a LAPRAS from\n" .string "{PLAYER} obtained a LAPRAS from\n"
.string "the SILPH employee!$" .string "the SILPH employee!$"
gUnknown_8176305:: @ 8176305 SilphCo_7F_Text_ExplainLapras:: @ 8176305
.string "It's a LAPRAS.\n" .string "It's a LAPRAS.\n"
.string "It's a very intelligent POKéMON.\p" .string "It's a very intelligent POKéMON.\p"
.string "We kept it in our lab, but it will\n" .string "We kept it in our lab, but it will\n"
@@ -19,94 +19,94 @@ gUnknown_8176305:: @ 8176305
.string "It's a good swimmer.\n" .string "It's a good swimmer.\n"
.string "It'll give you a lift across water!$" .string "It'll give you a lift across water!$"
gUnknown_81763DD:: @ 81763DD SilphCo_7F_Text_RocketBossWentToBoardroom:: @ 81763DD
.string "TEAM ROCKET's BOSS went to the\n" .string "TEAM ROCKET's BOSS went to the\n"
.string "boardroom!\p" .string "boardroom!\p"
.string "Is our PRESIDENT okay?\n" .string "Is our PRESIDENT okay?\n"
.string "I'm worried.$" .string "I'm worried.$"
Text_17642B:: @ 817642B SilphCo_7F_Text_OhNo:: @ 817642B
.string "あ‥ もう もてないぞ$" .string "あ‥ もう もてないぞ$"
Text_176437:: @ 8176437 SilphCo_7F_Text_SavedAtLast:: @ 8176437
.string "たすかったよ ありがと!$" .string "たすかったよ ありがと!$"
gUnknown_8176444:: @ 8176444 SilphCo_7F_Text_RocketsAfterMasterBall:: @ 8176444
.string "TEAM ROCKET was after the MASTER\n" .string "TEAM ROCKET was after the MASTER\n"
.string "BALL, which catches any POKéMON.$" .string "BALL, which catches any POKéMON.$"
gUnknown_8176486:: @ 8176486 SilphCo_7F_Text_CanceledMasterBallProject:: @ 8176486
.string "We canceled the MASTER BALL\n" .string "We canceled the MASTER BALL\n"
.string "project because of TEAM ROCKET.$" .string "project because of TEAM ROCKET.$"
gUnknown_81764C2:: @ 81764C2 SilphCo_7F_Text_BadIfTeamRocketTookOver:: @ 81764C2
.string "It would be bad if TEAM ROCKET\n" .string "It would be bad if TEAM ROCKET\n"
.string "took over SILPH or our POKéMON.$" .string "took over SILPH or our POKéMON.$"
gUnknown_8176501:: @ 8176501 SilphCo_7F_Text_WowYouChasedOffTeamRocket:: @ 8176501
.string "Wow!\p" .string "Wow!\p"
.string "You chased off TEAM ROCKET all by\n" .string "You chased off TEAM ROCKET all by\n"
.string "yourself?$" .string "yourself?$"
gUnknown_8176532:: @ 8176532 SilphCo_7F_Text_ReallyDangerousHere:: @ 8176532
.string "You!\n" .string "You!\n"
.string "It's really dangerous here!\p" .string "It's really dangerous here!\p"
.string "You came to save me?\n" .string "You came to save me?\n"
.string "You can't!$" .string "You can't!$"
gUnknown_8176573:: @ 8176573 SilphCo_7F_Text_ThankYouSoMuch:: @ 8176573
.string "Thank you so much!$" .string "Thank you so much!$"
Text_176586:: @ 8176586 SilphCo_7F_Text_Grunt3Intro:: @ 8176586
.string "Uh-oh!\n" .string "Uh-oh!\n"
.string "I smell a little mouse!$" .string "I smell a little mouse!$"
Text_1765A5:: @ 81765A5 SilphCo_7F_Text_Grunt3Defeat:: @ 81765A5
.string "Lights out!$" .string "Lights out!$"
gUnknown_81765B1:: @ 81765B1 SilphCo_7F_Text_Grunt3PostBattle:: @ 81765B1
.string "You won't find my BOSS by just\n" .string "You won't find my BOSS by just\n"
.string "scurrying around!$" .string "scurrying around!$"
Text_1765E2:: @ 81765E2 SilphCo_7F_Text_JoshuaIntro:: @ 81765E2
.string "Heheh!\p" .string "Heheh!\p"
.string "You mistook me for a SILPH worker?$" .string "You mistook me for a SILPH worker?$"
Text_17660C:: @ 817660C SilphCo_7F_Text_JoshuaDefeat:: @ 817660C
.string "I'm done!$" .string "I'm done!$"
gUnknown_8176616:: @ 8176616 SilphCo_7F_Text_JoshuaPostBattle:: @ 8176616
.string "Despite your age, you are a\n" .string "Despite your age, you are a\n"
.string "skilled TRAINER!$" .string "skilled TRAINER!$"
Text_176643:: @ 8176643 SilphCo_7F_Text_Grunt1Intro:: @ 8176643
.string "I am one of the four ROCKET\n" .string "I am one of the four ROCKET\n"
.string "BROTHERS!$" .string "BROTHERS!$"
Text_176669:: @ 8176669 SilphCo_7F_Text_Grunt1Defeat:: @ 8176669
.string "Aack!\n" .string "Aack!\n"
.string "Brothers, I lost!$" .string "Brothers, I lost!$"
gUnknown_8176681:: @ 8176681 SilphCo_7F_Text_Grunt1PostBattle:: @ 8176681
.string "Doesn't matter.\n" .string "Doesn't matter.\n"
.string "My brothers will repay the favor!$" .string "My brothers will repay the favor!$"
Text_1766B3:: @ 81766B3 SilphCo_7F_Text_Grunt2Intro:: @ 81766B3
.string "A child intruder?\n" .string "A child intruder?\n"
.string "That must be you!$" .string "That must be you!$"
Text_1766D7:: @ 81766D7 SilphCo_7F_Text_Grunt2Defeat:: @ 81766D7
.string "Fine!\n" .string "Fine!\n"
.string "I lost!$" .string "I lost!$"
gUnknown_81766E5:: @ 81766E5 SilphCo_7F_Text_Grunt2PostBattle:: @ 81766E5
.string "Go on home before my BOSS gets\n" .string "Go on home before my BOSS gets\n"
.string "ticked off!$" .string "ticked off!$"
gUnknown_8176710:: @ 8176710 SilphCo_7F_Text_RivalWhatKeptYou:: @ 8176710
.string "{RIVAL}: What kept you, {PLAYER}?$" .string "{RIVAL}: What kept you, {PLAYER}?$"
gUnknown_8176727:: @ 8176727 SilphCo_7F_Text_RivalIntro:: @ 8176727
.string "{RIVAL}: Hahaha! I thought you'd\n" .string "{RIVAL}: Hahaha! I thought you'd\n"
.string "turn up if I waited here!\p" .string "turn up if I waited here!\p"
.string "I guess TEAM ROCKET slowed you\n" .string "I guess TEAM ROCKET slowed you\n"
@@ -114,18 +114,18 @@ gUnknown_8176727:: @ 8176727
.string "I saw you in SAFFRON, so I decided\n" .string "I saw you in SAFFRON, so I decided\n"
.string "to see if you got better!$" .string "to see if you got better!$"
Text_1767D0:: @ 81767D0 SilphCo_7F_Text_RivalDefeat:: @ 81767D0
.string "Oh, man!\n" .string "Oh, man!\n"
.string "So, you are ready for BOSS\l" .string "So, you are ready for BOSS\l"
.string "ROCKET!$" .string "ROCKET!$"
Text_1767FC:: @ 81767FC SilphCo_7F_Text_RivalVictory:: @ 81767FC
.string "{RIVAL}“おまえなあ‥\p" .string "{RIVAL}“おまえなあ‥\p"
.string "こんな うでまえじゃ\n" .string "こんな うでまえじゃ\n"
.string "まだまだ‥\l" .string "まだまだ‥\l"
.string "いちにんまえ とは いえないぜ$" .string "いちにんまえ とは いえないぜ$"
gUnknown_8176827:: @ 8176827 SilphCo_7F_Text_RivalPostBattle:: @ 8176827
.string "Well, {PLAYER}!\n" .string "Well, {PLAYER}!\n"
.string "I'm moving on up and ahead!\p" .string "I'm moving on up and ahead!\p"
.string "By checking my POKéDEX, I'm\n" .string "By checking my POKéDEX, I'm\n"
@@ -140,7 +140,7 @@ gUnknown_8176827:: @ 8176827
.string "Don't sweat it!\l" .string "Don't sweat it!\l"
.string "Smell ya!$" .string "Smell ya!$"
gUnknown_8176954:: @ 8176954 SilphCo_7F_Text_FloorSign:: @ 8176954
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "7F$" .string "7F$"
+6 -6
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4, "trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_8F_EventScript_161CB0", "script": "SilphCo_8F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_8F_EventScript_161CC7", "script": "SilphCo_8F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_8F_EventScript_161C99", "script": "SilphCo_8F_EventScript_Parker",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_8F_EventScript_161C6F", "script": "SilphCo_8F_EventScript_WorkerM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -88,7 +88,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_8F_EventScript_1AD0ED", "script": "SilphCo_8F_EventScript_Scientist",
"flag": "0" "flag": "0"
} }
], ],
@@ -188,7 +188,7 @@
"x": 27, "x": 27,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_8F_EventScript_161C90" "script": "SilphCo_8F_EventScript_FloorSign"
} }
] ]
} }
+16 -16
View File
@@ -6,35 +6,35 @@ SilphCo_8F_OnLoad:: @ 8161C65
call_if_unset FLAG_SILPH_8F_DOOR, EventScript_Close8FDoor call_if_unset FLAG_SILPH_8F_DOOR, EventScript_Close8FDoor
end end
SilphCo_8F_EventScript_161C6F:: @ 8161C6F SilphCo_8F_EventScript_WorkerM:: @ 8161C6F
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161C86 goto_if_ge SilphCo_8F_EventScript_WorkerMRocketsGone
msgbox gUnknown_817696D msgbox SilphCo_8F_Text_WonderIfSilphIsFinished
release release
end end
EventScript_161C86:: @ 8161C86 SilphCo_8F_EventScript_WorkerMRocketsGone:: @ 8161C86
msgbox gUnknown_817698C msgbox SilphCo_8F_Text_ThanksForSavingUs
release release
end end
SilphCo_8F_EventScript_161C90:: @ 8161C90 SilphCo_8F_EventScript_FloorSign:: @ 8161C90
msgbox gUnknown_8176AB2, MSGBOX_SIGN msgbox SilphCo_8F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_8F_EventScript_161C99:: @ 8161C99 SilphCo_8F_EventScript_Parker:: @ 8161C99
trainerbattle_single TRAINER_SCIENTIST_PARKER, Text_1769FD, Text_176A19 trainerbattle_single TRAINER_SCIENTIST_PARKER, SilphCo_8F_Text_ParkerIntro, SilphCo_8F_Text_ParkerDefeat
msgbox gUnknown_8176A26, MSGBOX_AUTOCLOSE msgbox SilphCo_8F_Text_ParkerPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_8F_EventScript_161CB0:: @ 8161CB0 SilphCo_8F_EventScript_Grunt1:: @ 8161CB0
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_32, Text_1769A2, Text_1769BE trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_32, SilphCo_8F_Text_Grunt1Intro, SilphCo_8F_Text_Grunt1Defeat
msgbox gUnknown_81769CF, MSGBOX_AUTOCLOSE msgbox SilphCo_8F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_8F_EventScript_161CC7:: @ 8161CC7 SilphCo_8F_EventScript_Grunt2:: @ 8161CC7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_36, Text_176A56, Text_176A7C trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_36, SilphCo_8F_Text_Grunt2Intro, SilphCo_8F_Text_Grunt2Defeat
msgbox gUnknown_8176A90, MSGBOX_AUTOCLOSE msgbox SilphCo_8F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+19 -12
View File
@@ -1,42 +1,49 @@
gUnknown_817696D:: @ 817696D SilphCo_8F_Text_WonderIfSilphIsFinished:: @ 817696D
.string "I wonder if SILPH is finished…$" .string "I wonder if SILPH is finished…$"
gUnknown_817698C:: @ 817698C SilphCo_8F_Text_ThanksForSavingUs:: @ 817698C
.string "Thanks for saving us!$" .string "Thanks for saving us!$"
Text_1769A2:: @ 81769A2 SilphCo_8F_Text_Grunt1Intro:: @ 81769A2
.string "That's as far as you'll go!$" .string "That's as far as you'll go!$"
Text_1769BE:: @ 81769BE SilphCo_8F_Text_Grunt1Defeat:: @ 81769BE
.string "Not enough grit!$" .string "Not enough grit!$"
gUnknown_81769CF:: @ 81769CF SilphCo_8F_Text_Grunt1PostBattle:: @ 81769CF
.string "If you don't turn back…\n" .string "If you don't turn back…\n"
.string "I'll call for backup!$" .string "I'll call for backup!$"
Text_1769FD:: @ 81769FD SilphCo_8F_Text_ParkerIntro:: @ 81769FD
.string "You're causing us problems!$" .string "You're causing us problems!$"
Text_176A19:: @ 8176A19 SilphCo_8F_Text_ParkerDefeat:: @ 8176A19
.string "Huh?\n" .string "Huh?\n"
.string "I lost?$" .string "I lost?$"
gUnknown_8176A26:: @ 8176A26 SilphCo_8F_Text_ParkerPostBattle:: @ 8176A26
.string "So, what do you think of SILPH\n" .string "So, what do you think of SILPH\n"
.string "BUILDING's maze?$" .string "BUILDING's maze?$"
Text_176A56:: @ 8176A56 SilphCo_8F_Text_Grunt2Intro:: @ 8176A56
.string "I am one of the four ROCKET\n" .string "I am one of the four ROCKET\n"
.string "BROTHERS!$" .string "BROTHERS!$"
Text_176A7C:: @ 8176A7C SilphCo_8F_Text_Grunt2Defeat:: @ 8176A7C
.string "Whoo!\n" .string "Whoo!\n"
.string "Oh, Brothers!$" .string "Oh, Brothers!$"
gUnknown_8176A90:: @ 8176A90 SilphCo_8F_Text_Grunt2PostBattle:: @ 8176A90
.string "I'll leave you up to my brothers.$" .string "I'll leave you up to my brothers.$"
gUnknown_8176AB2:: @ 8176AB2 SilphCo_8F_Text_FloorSign:: @ 8176AB2
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "8F$" .string "8F$"
SilphCo_8F_Text_ToRocketBossMonsAreTools:: @ 8176ACB
.string "TEAM ROCKET's BOSS is terribly\n"
.string "cruel!\p"
.string "To him, POKéMON are just tools to\n"
.string "be used.\p"
.string "What will happen if that tyrant\n"
.string "takes over our company…$"
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2, "trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_9F_EventScript_161D41", "script": "SilphCo_9F_EventScript_Ed",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -36,7 +36,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_9F_EventScript_161D6F", "script": "SilphCo_9F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
}, },
{ {
@@ -49,7 +49,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_9F_EventScript_161D09", "script": "SilphCo_9F_EventScript_HealWoman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_9F_EventScript_161D58", "script": "SilphCo_9F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS" "flag": "FLAG_HIDE_SILPH_ROCKETS"
} }
], ],
@@ -242,7 +242,7 @@
"x": 17, "x": 17,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"script": "SilphCo_9F_EventScript_161D38" "script": "SilphCo_9F_EventScript_FloorSign"
} }
] ]
} }
+17 -17
View File
@@ -9,38 +9,38 @@ SilphCo_9F_OnLoad:: @ 8161CE4
call_if_unset FLAG_SILPH_9F_DOOR_4, EventScript_Close9FDoor4 call_if_unset FLAG_SILPH_9F_DOOR_4, EventScript_Close9FDoor4
end end
SilphCo_9F_EventScript_161D09:: @ 8161D09 SilphCo_9F_EventScript_HealWoman:: @ 8161D09
lock lock
faceplayer faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1 compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161D2E goto_if_ge SilphCo_9F_EventScript_HealWomanRocketsGone
msgbox gUnknown_8176B54 msgbox SilphCo_9F_Text_YouShouldTakeQuickNap
closemessage closemessage
call EventScript_OutOfCenterPartyHeal call EventScript_OutOfCenterPartyHeal
msgbox gUnknown_8176B81 msgbox SilphCo_9F_Text_DontGiveUp
release release
end end
EventScript_161D2E:: @ 8161D2E SilphCo_9F_EventScript_HealWomanRocketsGone:: @ 8161D2E
msgbox gUnknown_8176B90 msgbox SilphCo_9F_Text_ThankYouSoMuch
release release
end end
SilphCo_9F_EventScript_161D38:: @ 8161D38 SilphCo_9F_EventScript_FloorSign:: @ 8161D38
msgbox gUnknown_8176CD4, MSGBOX_SIGN msgbox SilphCo_9F_Text_FloorSign, MSGBOX_SIGN
end end
SilphCo_9F_EventScript_161D41:: @ 8161D41 SilphCo_9F_EventScript_Ed:: @ 8161D41
trainerbattle_single TRAINER_SCIENTIST_ED, Text_176BFB, Text_176C2B trainerbattle_single TRAINER_SCIENTIST_ED, SilphCo_9F_Text_EdIntro, SilphCo_9F_Text_EdDefeat
msgbox gUnknown_8176C3C, MSGBOX_AUTOCLOSE msgbox SilphCo_9F_Text_EdPostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_9F_EventScript_161D58:: @ 8161D58 SilphCo_9F_EventScript_Grunt1:: @ 8161D58
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_37, Text_176BA3, Text_176BC8 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_37, SilphCo_9F_Text_Grunt1Intro, SilphCo_9F_Text_Grunt1Defeat
msgbox gUnknown_8176BD0, MSGBOX_AUTOCLOSE msgbox SilphCo_9F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end end
SilphCo_9F_EventScript_161D6F:: @ 8161D6F SilphCo_9F_EventScript_Grunt2:: @ 8161D6F
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_38, Text_176C7A, Text_176CA0 trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_38, SilphCo_9F_Text_Grunt2Intro, SilphCo_9F_Text_Grunt2Defeat
msgbox gUnknown_8176CB8, MSGBOX_AUTOCLOSE msgbox SilphCo_9F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end end
+13 -21
View File
@@ -1,55 +1,47 @@
Text_176ACB:: @ 8176ACB SilphCo_9F_Text_YouShouldTakeQuickNap:: @ 8176B54
.string "TEAM ROCKET's BOSS is terribly\n"
.string "cruel!\p"
.string "To him, POKéMON are just tools to\n"
.string "be used.\p"
.string "What will happen if that tyrant\n"
.string "takes over our company…$"
gUnknown_8176B54:: @ 8176B54
.string "You look tired.\n" .string "You look tired.\n"
.string "You should take a quick nap.$" .string "You should take a quick nap.$"
gUnknown_8176B81:: @ 8176B81 SilphCo_9F_Text_DontGiveUp:: @ 8176B81
.string "Don't give up!$" .string "Don't give up!$"
gUnknown_8176B90:: @ 8176B90 SilphCo_9F_Text_ThankYouSoMuch:: @ 8176B90
.string "Thank you so much.$" .string "Thank you so much.$"
Text_176BA3:: @ 8176BA3 SilphCo_9F_Text_Grunt1Intro:: @ 8176BA3
.string "Your POKéMON seem to adore you,\n" .string "Your POKéMON seem to adore you,\n"
.string "kid!$" .string "kid!$"
Text_176BC8:: @ 8176BC8 SilphCo_9F_Text_Grunt1Defeat:: @ 8176BC8
.string "Ghaaah!$" .string "Ghaaah!$"
gUnknown_8176BD0:: @ 8176BD0 SilphCo_9F_Text_Grunt1PostBattle:: @ 8176BD0
.string "If I had started as a TRAINER at\n" .string "If I had started as a TRAINER at\n"
.string "your age…$" .string "your age…$"
Text_176BFB:: @ 8176BFB SilphCo_9F_Text_EdIntro:: @ 8176BFB
.string "Your POKéMON have weak points!\n" .string "Your POKéMON have weak points!\n"
.string "I can nail them!$" .string "I can nail them!$"
Text_176C2B:: @ 8176C2B SilphCo_9F_Text_EdDefeat:: @ 8176C2B
.string "You hammered me!$" .string "You hammered me!$"
gUnknown_8176C3C:: @ 8176C3C SilphCo_9F_Text_EdPostBattle:: @ 8176C3C
.string "Exploiting weak spots does work.\n" .string "Exploiting weak spots does work.\n"
.string "Think about type advantages.$" .string "Think about type advantages.$"
Text_176C7A:: @ 8176C7A SilphCo_9F_Text_Grunt2Intro:: @ 8176C7A
.string "I am one of the four ROCKET\n" .string "I am one of the four ROCKET\n"
.string "BROTHERS!$" .string "BROTHERS!$"
Text_176CA0:: @ 8176CA0 SilphCo_9F_Text_Grunt2Defeat:: @ 8176CA0
.string "Warg!\n" .string "Warg!\n"
.string "Brothers, I lost!$" .string "Brothers, I lost!$"
gUnknown_8176CB8:: @ 8176CB8 SilphCo_9F_Text_Grunt2PostBattle:: @ 8176CB8
.string "My brothers will avenge me!$" .string "My brothers will avenge me!$"
gUnknown_8176CD4:: @ 8176CD4 SilphCo_9F_Text_FloorSign:: @ 8176CD4
.string "SILPH CO. HEAD OFFICE\n" .string "SILPH CO. HEAD OFFICE\n"
.string "9F$" .string "9F$"
+1 -1
View File
@@ -29,7 +29,7 @@
"x": 0, "x": 0,
"y": 2, "y": 2,
"elevation": 3, "elevation": 3,
"script": "SilphCo_Elevator_EventScript_161F6F" "script": "SilphCo_Elevator_EventScript_FloorSelect"
} }
] ]
} }
+60 -82
View File
@@ -1,7 +1,7 @@
SilphCo_Elevator_MapScripts:: @ 8161F6E SilphCo_Elevator_MapScripts:: @ 8161F6E
.byte 0 .byte 0
SilphCo_Elevator_EventScript_161F6F:: @ 8161F6F SilphCo_Elevator_EventScript_FloorSelect:: @ 8161F6F
lockall lockall
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
@@ -14,159 +14,137 @@ SilphCo_Elevator_EventScript_161F6F:: @ 8161F6F
special Special_ListMenu special Special_ListMenu
waitstate waitstate
switch VAR_RESULT switch VAR_RESULT
case 0, EventScript_1621BF case 0, SilphCo_Elevator_EventScript_To11F
case 1, EventScript_162197 case 1, SilphCo_Elevator_EventScript_To10F
case 2, EventScript_16216F case 2, SilphCo_Elevator_EventScript_To9F
case 3, EventScript_162147 case 3, SilphCo_Elevator_EventScript_To8F
case 4, EventScript_16211F case 4, SilphCo_Elevator_EventScript_To7F
case 5, EventScript_1620F7 case 5, SilphCo_Elevator_EventScript_To6F
case 6, EventScript_1620CF case 6, SilphCo_Elevator_EventScript_To5F
case 7, EventScript_1620A7 case 7, SilphCo_Elevator_EventScript_To4F
case 8, EventScript_16207F case 8, SilphCo_Elevator_EventScript_To3F
case 9, EventScript_162057 case 9, SilphCo_Elevator_EventScript_To2F
case 10, EventScript_16202F case 10, SilphCo_Elevator_EventScript_To1F
case 11, EventScript_1621E7 case 11, SilphCo_Elevator_EventScript_ExitFloorSelect
case 127, EventScript_1621E7 case 127, SilphCo_Elevator_EventScript_ExitFloorSelect
end end
EventScript_16202F:: @ 816202F SilphCo_Elevator_EventScript_To1F:: @ 816202F
setvar VAR_0x8006, 4 setvar VAR_0x8006, 4
setdynamicwarp MAP_SILPH_CO_1F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_1F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 4 compare VAR_ELEVATOR_FLOOR, 4
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 4 setvar VAR_ELEVATOR_FLOOR, 4
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_162056:: @ 8162056
end end
EventScript_162057:: @ 8162057 SilphCo_Elevator_EventScript_To2F:: @ 8162057
setvar VAR_0x8006, 5 setvar VAR_0x8006, 5
setdynamicwarp MAP_SILPH_CO_2F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_2F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 5 compare VAR_ELEVATOR_FLOOR, 5
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 5 setvar VAR_ELEVATOR_FLOOR, 5
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_16207E:: @ 816207E
end end
EventScript_16207F:: @ 816207F SilphCo_Elevator_EventScript_To3F:: @ 816207F
setvar VAR_0x8006, 6 setvar VAR_0x8006, 6
setdynamicwarp MAP_SILPH_CO_3F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_3F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 6 compare VAR_ELEVATOR_FLOOR, 6
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 6 setvar VAR_ELEVATOR_FLOOR, 6
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_1620A6:: @ 81620A6
end end
EventScript_1620A7:: @ 81620A7 SilphCo_Elevator_EventScript_To4F:: @ 81620A7
setvar VAR_0x8006, 7 setvar VAR_0x8006, 7
setdynamicwarp MAP_SILPH_CO_4F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_4F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 7 compare VAR_ELEVATOR_FLOOR, 7
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 7 setvar VAR_ELEVATOR_FLOOR, 7
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_1620CE:: @ 81620CE
end end
EventScript_1620CF:: @ 81620CF SilphCo_Elevator_EventScript_To5F:: @ 81620CF
setvar VAR_0x8006, 8 setvar VAR_0x8006, 8
setdynamicwarp MAP_SILPH_CO_5F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_5F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 8 compare VAR_ELEVATOR_FLOOR, 8
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 8 setvar VAR_ELEVATOR_FLOOR, 8
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_1620F6:: @ 81620F6
end end
EventScript_1620F7:: @ 81620F7 SilphCo_Elevator_EventScript_To6F:: @ 81620F7
setvar VAR_0x8006, 9 setvar VAR_0x8006, 9
setdynamicwarp MAP_SILPH_CO_6F, 255, 20, 3 setdynamicwarp MAP_SILPH_CO_6F, 255, 20, 3
compare VAR_ELEVATOR_FLOOR, 9 compare VAR_ELEVATOR_FLOOR, 9
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 9 setvar VAR_ELEVATOR_FLOOR, 9
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_16211E:: @ 816211E
end end
EventScript_16211F:: @ 816211F SilphCo_Elevator_EventScript_To7F:: @ 816211F
setvar VAR_0x8006, 10 setvar VAR_0x8006, 10
setdynamicwarp MAP_SILPH_CO_7F, 255, 23, 3 setdynamicwarp MAP_SILPH_CO_7F, 255, 23, 3
compare VAR_ELEVATOR_FLOOR, 10 compare VAR_ELEVATOR_FLOOR, 10
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 10 setvar VAR_ELEVATOR_FLOOR, 10
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_162146:: @ 8162146
end end
EventScript_162147:: @ 8162147 SilphCo_Elevator_EventScript_To8F:: @ 8162147
setvar VAR_0x8006, 11 setvar VAR_0x8006, 11
setdynamicwarp MAP_SILPH_CO_8F, 255, 22, 3 setdynamicwarp MAP_SILPH_CO_8F, 255, 22, 3
compare VAR_ELEVATOR_FLOOR, 11 compare VAR_ELEVATOR_FLOOR, 11
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 11 setvar VAR_ELEVATOR_FLOOR, 11
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_16216E:: @ 816216E
end end
EventScript_16216F:: @ 816216F SilphCo_Elevator_EventScript_To9F:: @ 816216F
setvar VAR_0x8006, 12 setvar VAR_0x8006, 12
setdynamicwarp MAP_SILPH_CO_9F, 255, 24, 3 setdynamicwarp MAP_SILPH_CO_9F, 255, 24, 3
compare VAR_ELEVATOR_FLOOR, 12 compare VAR_ELEVATOR_FLOOR, 12
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 12 setvar VAR_ELEVATOR_FLOOR, 12
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_162196:: @ 8162196
end end
EventScript_162197:: @ 8162197 SilphCo_Elevator_EventScript_To10F:: @ 8162197
setvar VAR_0x8006, 13 setvar VAR_0x8006, 13
setdynamicwarp MAP_SILPH_CO_10F, 255, 13, 3 setdynamicwarp MAP_SILPH_CO_10F, 255, 13, 3
compare VAR_ELEVATOR_FLOOR, 13 compare VAR_ELEVATOR_FLOOR, 13
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 13 setvar VAR_ELEVATOR_FLOOR, 13
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_1621BE:: @ 81621BE
end end
EventScript_1621BF:: @ 81621BF SilphCo_Elevator_EventScript_To11F:: @ 81621BF
setvar VAR_0x8006, 14 setvar VAR_0x8006, 14
setdynamicwarp MAP_SILPH_CO_11F, 255, 13, 3 setdynamicwarp MAP_SILPH_CO_11F, 255, 13, 3
compare VAR_ELEVATOR_FLOOR, 14 compare VAR_ELEVATOR_FLOOR, 14
goto_if_eq EventScript_1621E7 goto_if_eq SilphCo_Elevator_EventScript_ExitFloorSelect
call EventScript_1621EC call SilphCo_Elevator_EventScript_MoveElevator
setvar VAR_ELEVATOR_FLOOR, 14 setvar VAR_ELEVATOR_FLOOR, 14
goto EventScript_1621E7 goto SilphCo_Elevator_EventScript_ExitFloorSelect
EventScript_1621E6:: @ 81621E6
end end
EventScript_1621E7:: @ 81621E7 SilphCo_Elevator_EventScript_ExitFloorSelect:: @ 81621E7
special Special_CloseElevatorCurrentFloorWindow special Special_CloseElevatorCurrentFloorWindow
releaseall releaseall
end end
EventScript_1621EC:: @ 81621EC SilphCo_Elevator_EventScript_MoveElevator:: @ 81621EC
special Special_CloseElevatorCurrentFloorWindow special Special_CloseElevatorCurrentFloorWindow
closemessage closemessage
waitse waitse
+6 -6
View File
@@ -43,11 +43,11 @@ Route4_EventScript_1ACDEA:: @ 81ACDEA
release release
end end
MtMoon_1F_EventScript_1ACE03:: @ 81ACE03 MtMoon_1F_EventScript_BaldingMan:: @ 81ACE03
lock lock
faceplayer faceplayer
famechecker FAMECHECKER_BROCK, 4 famechecker FAMECHECKER_BROCK, 4
msgbox Text_172B00 msgbox MtMoon_1F_Text_BrockHelpsExcavateFossils
release release
end end
@@ -269,18 +269,18 @@ CinnabarIsland_PokemonCenter_1F_EventScript_PokemonJournalMrFuji:: @ 81AD0B9
release release
end end
SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4 SilphCo_5F_EventScript_Scientist:: @ 81AD0D4
lock lock
faceplayer faceplayer
famechecker FAMECHECKER_GIOVANNI, 1 famechecker FAMECHECKER_GIOVANNI, 1
msgbox Text_175E99 msgbox SilphCo_5F_Text_RocketBossLookingForStrongMons
release release
end end
SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED SilphCo_8F_EventScript_Scientist:: @ 81AD0ED
lock lock
faceplayer faceplayer
famechecker FAMECHECKER_GIOVANNI, 2 famechecker FAMECHECKER_GIOVANNI, 2
msgbox Text_176ACB msgbox SilphCo_8F_Text_ToRocketBossMonsAreTools
release release
end end
+12
View File
@@ -81,6 +81,18 @@
#define METATILE_PokemonMansion_Statue_RedEyes_Shade 0x34E #define METATILE_PokemonMansion_Statue_RedEyes_Shade 0x34E
#define METATILE_PokemonMansion_Statue_RedEyes_Basement 0x34F #define METATILE_PokemonMansion_Statue_RedEyes_Basement 0x34F
// Rocket Hideout, Rocket Warehouse, Silph Co, elevators
#define METATILE_Hideout_Arrow_Up 0x2A0
#define METATILE_Hideout_Arrow_Left 0x2A1
#define METATILE_Hideout_Arrow_Down 0x2A8
#define METATILE_Hideout_Arrow_RIght 0x2A9
#define METATILE_Hideout_Barrier_TopLeft_Floor 0x2CE
#define METATILE_Hideout_Barrier_TopRight_Floor 0x2CF
#define METATILE_Hideout_Barrier_BottomLeft 0x2D6
#define METATILE_Hideout_Barrier_BottomRight 0x2D7
#define METATILE_Hideout_Floor 0x281
#define METATILE_Hideout_Floor_ShadeFull 0x282
// Cinnabar Gym // Cinnabar Gym
#define METATILE_CinnabarGym_Floor 0x281 #define METATILE_CinnabarGym_Floor 0x281
#define METATILE_CinnabarGym_Floor_ShadeDiagonal 0x282 #define METATILE_CinnabarGym_Floor_ShadeDiagonal 0x282