Document static mon scripts

This commit is contained in:
GriffinR
2020-01-16 17:06:34 -05:00
parent 8bdd942c9e
commit a4f5f41e24
39 changed files with 440 additions and 491 deletions
+7
View File
@@ -1633,3 +1633,10 @@
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if_eq \dest goto_if_eq \dest
.endm .endm
.macro braillemessage_wait text:req
setvar VAR_0x8006, 0
braillemessage \text
getbraillestringwidth \text
call EventScript_BrailleCursorWaitButton
.endm
+3 -1
View File
@@ -1,6 +1,7 @@
#include "constants/global.h" #include "constants/global.h"
#include "constants/flags.h" #include "constants/flags.h"
#include "constants/event_objects.h" #include "constants/event_objects.h"
#include "constants/event_object_movement.h"
#include "constants/decorations.h" #include "constants/decorations.h"
#include "constants/items.h" #include "constants/items.h"
#include "constants/layouts.h" #include "constants/layouts.h"
@@ -1117,7 +1118,8 @@ Text_1A641B:: @ 81A641B
.string "All right!\n" .string "All right!\n"
.string "All aboard SEAGALLOP HI-SPEED {STR_VAR_1}!$" .string "All aboard SEAGALLOP HI-SPEED {STR_VAR_1}!$"
Text_1A6448:: @ 81A6448 @ Call for legendary bird trio
Text_Gyaoo:: @ 81A6448
.string "Gyaoo!$" .string "Gyaoo!$"
Text_MoveCanOnlyBeLearnedOnce:: @ 81A644F Text_MoveCanOnlyBeLearnedOnce:: @ 81A644F
+8 -8
View File
@@ -3128,28 +3128,28 @@
"blockdata_filepath": "data/layouts/FourIsland_PokemonDayCare/map.bin" "blockdata_filepath": "data/layouts/FourIsland_PokemonDayCare/map.bin"
}, },
{ {
"id": "LAYOUT_UNUSED_LAYOUT_833B6EC", "id": "LAYOUT_SEAFOAM_ISLANDS_B3F_CURRENT_STOPPED",
"name": "UnusedLayout_833B6EC_Layout", "name": "SeafoamIslands_B3F_CurrentStopped_Layout",
"width": 38, "width": 38,
"height": 24, "height": 24,
"border_width": 2, "border_width": 2,
"border_height": 2, "border_height": 2,
"primary_tileset": "gTileset_82D4A94", "primary_tileset": "gTileset_82D4A94",
"secondary_tileset": "gTileset_82D4E24", "secondary_tileset": "gTileset_82D4E24",
"border_filepath": "data/layouts/UnusedLayout_833B6EC/border.bin", "border_filepath": "data/layouts/SeafoamIslands_B3F_CurrentStopped/border.bin",
"blockdata_filepath": "data/layouts/UnusedLayout_833B6EC/map.bin" "blockdata_filepath": "data/layouts/SeafoamIslands_B3F_CurrentStopped/map.bin"
}, },
{ {
"id": "LAYOUT_UNUSED_LAYOUT_833BE30", "id": "LAYOUT_SEAFOAM_ISLANDS_B4F_CURRENT_STOPPED",
"name": "UnusedLayout_833BE30_Layout", "name": "SeafoamIslands_B4F_CurrentStopped_Layout",
"width": 38, "width": 38,
"height": 24, "height": 24,
"border_width": 2, "border_width": 2,
"border_height": 2, "border_height": 2,
"primary_tileset": "gTileset_82D4A94", "primary_tileset": "gTileset_82D4A94",
"secondary_tileset": "gTileset_82D4E24", "secondary_tileset": "gTileset_82D4E24",
"border_filepath": "data/layouts/UnusedLayout_833BE30/border.bin", "border_filepath": "data/layouts/SeafoamIslands_B4F_CurrentStopped/border.bin",
"blockdata_filepath": "data/layouts/UnusedLayout_833BE30/map.bin" "blockdata_filepath": "data/layouts/SeafoamIslands_B4F_CurrentStopped/map.bin"
}, },
{ {
"id": "LAYOUT_MT_EMBER_EXTERIOR", "id": "LAYOUT_MT_EMBER_EXTERIOR",
+1 -1
View File
@@ -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": "CeruleanCave_B1F_EventScript_1624F5", "script": "CeruleanCave_B1F_EventScript_Mewtwo",
"flag": "FLAG_HIDE_MEWTWO" "flag": "FLAG_HIDE_MEWTWO"
}, },
{ {
+11 -15
View File
@@ -4,10 +4,10 @@ CeruleanCave_B1F_MapScripts:: @ 81624BE
.byte 0 .byte 0
CeruleanCave_B1F_OnResume:: @ 81624C9 CeruleanCave_B1F_OnResume:: @ 81624C9
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_1624D3 call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, CeruleanCave_B1F_EventScript_TryRemoveMewtwo
end end
EventScript_1624D3:: @ 81624D3 CeruleanCave_B1F_EventScript_TryRemoveMewtwo:: @ 81624D3
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return goto_if_ne EventScript_Return
@@ -15,21 +15,21 @@ EventScript_1624D3:: @ 81624D3
return return
CeruleanCave_B1F_OnTransition:: @ 81624E7 CeruleanCave_B1F_OnTransition:: @ 81624E7
call_if_unset FLAG_FOUGHT_MEWTWO, EventScript_1624F1 call_if_unset FLAG_FOUGHT_MEWTWO, CeruleanCave_B1F_EventScript_ShowMewtwo
end end
EventScript_1624F1:: @ 81624F1 CeruleanCave_B1F_EventScript_ShowMewtwo:: @ 81624F1
clearflag FLAG_HIDE_MEWTWO clearflag FLAG_HIDE_MEWTWO
return return
CeruleanCave_B1F_EventScript_1624F5:: @ 81624F5 CeruleanCave_B1F_EventScript_Mewtwo:: @ 81624F5
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_MEWTWO, 2 playmoncry SPECIES_MEWTWO, 2
message Text_177F9F message CeruleanCave_B1F_Text_Mew
waitmessage waitmessage
waitmoncry waitmoncry
delay 20 delay 20
@@ -42,25 +42,21 @@ CeruleanCave_B1F_EventScript_1624F5:: @ 81624F5
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_162558 goto_if_eq CeruleanCave_B1F_EventScript_DefeatedMewtwo
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_162561 goto_if_eq CeruleanCave_B1F_EventScript_RanFromMewtwo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_162561 goto_if_eq CeruleanCave_B1F_EventScript_RanFromMewtwo
setflag FLAG_FOUGHT_MEWTWO setflag FLAG_FOUGHT_MEWTWO
release release
end end
EventScript_162558:: @ 8162558 CeruleanCave_B1F_EventScript_DefeatedMewtwo:: @ 8162558
setflag FLAG_FOUGHT_MEWTWO setflag FLAG_FOUGHT_MEWTWO
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
EventScript_162560:: @ 8162560
end end
EventScript_162561:: @ 8162561 CeruleanCave_B1F_EventScript_RanFromMewtwo:: @ 8162561
setvar VAR_0x8004, SPECIES_MEWTWO setvar VAR_0x8004, SPECIES_MEWTWO
goto EventScript_MonFlewAway goto EventScript_MonFlewAway
EventScript_16256B:: @ 816256B
end end
+1 -1
View File
@@ -1,3 +1,3 @@
Text_177F9F:: @ 8177F9F CeruleanCave_B1F_Text_Mew:: @ 8177F9F
.string "Mew!$" .string "Mew!$"
+8 -8
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": "MtEmber_Exterior_EventScript_16397F", "script": "MtEmber_Exterior_EventScript_Grunt1",
"flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_ROCKETS" "flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_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": "MtEmber_Exterior_EventScript_1639F0", "script": "MtEmber_Exterior_EventScript_Grunt2",
"flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_ROCKETS" "flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_ROCKETS"
}, },
{ {
@@ -62,7 +62,7 @@
"movement_range_y": 3, "movement_range_y": 3,
"trainer_type": 1, "trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1, "trainer_sight_or_berry_tree_id": 1,
"script": "MtEmber_Exterior_EventScript_163AE2", "script": "MtEmber_Exterior_EventScript_Jocelyn",
"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": 5, "trainer_sight_or_berry_tree_id": 5,
"script": "MtEmber_Exterior_EventScript_163AB4", "script": "MtEmber_Exterior_EventScript_Logan",
"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": 3, "trainer_sight_or_berry_tree_id": 3,
"script": "MtEmber_Exterior_EventScript_163ACB", "script": "MtEmber_Exterior_EventScript_Beth",
"flag": "0" "flag": "0"
}, },
{ {
@@ -326,7 +326,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR", "var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1, "var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E" "script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -335,7 +335,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR", "var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1, "var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E" "script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -344,7 +344,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR", "var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1, "var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E" "script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
} }
], ],
"bg_events": [ "bg_events": [
+46 -46
View File
@@ -6,50 +6,50 @@ MtEmber_Exterior_MapScripts:: @ 8163946
MtEmber_Exterior_OnTransition:: @ 8163951 MtEmber_Exterior_OnTransition:: @ 8163951
setworldmapflag FLAG_WORLD_MAP_MT_EMBER_EXTERIOR setworldmapflag FLAG_WORLD_MAP_MT_EMBER_EXTERIOR
compare VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2 compare VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2
call_if_eq EventScript_163960 call_if_eq MtEmber_Exterior_EventScript_RocketsFaceDown
end end
EventScript_163960:: @ 8163960 MtEmber_Exterior_EventScript_RocketsFaceDown:: @ 8163960
setobjectmovementtype 2, 8 setobjectmovementtype 2, MOVEMENT_TYPE_FACE_DOWN
setobjectmovementtype 3, 8 setobjectmovementtype 3, MOVEMENT_TYPE_FACE_DOWN
return return
MtEmber_Exterior_OnLoad:: @ 8163969 MtEmber_Exterior_OnLoad:: @ 8163969
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4 compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
call_if_ge EventScript_163975 call_if_ge MtEmber_Exterior_EventScript_OpenCave
end end
EventScript_163975:: @ 8163975 MtEmber_Exterior_EventScript_OpenCave:: @ 8163975
setmetatile 42, 39, 838, 0 setmetatile 42, 39, METATILE_MtEmber_CaveEntrance, 0
return return
MtEmber_Exterior_EventScript_16397F:: @ 816397F MtEmber_Exterior_EventScript_Grunt1:: @ 816397F
lock lock
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, EventScript_16399E goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_EventScript_Grunt1Defeated
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4 compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_1639A8 goto_if_eq MtEmber_Exterior_EventScript_BattleGrunt1
msgbox gUnknown_817A82A msgbox MtEmber_Exterior_Text_WellTryDiggingHere
release release
end end
EventScript_16399E:: @ 816399E MtEmber_Exterior_EventScript_Grunt1Defeated:: @ 816399E
msgbox gUnknown_817AA3F msgbox MtEmber_Exterior_Text_Grunt1PostBattle
release release
end end
EventScript_1639A8:: @ 81639A8 MtEmber_Exterior_EventScript_BattleGrunt1:: @ 81639A8
applymovement 2, Movement_FacePlayer applymovement 2, Movement_FacePlayer
waitmovement 0 waitmovement 0
playbgm MUS_ROCKET, 0 playbgm MUS_ROCKET, 0
msgbox gUnknown_817AA06 msgbox MtEmber_Exterior_Text_Grunt1Intro
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_43, Text_17AA34 trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_Text_Grunt1Defeat
msgbox gUnknown_817AA3F msgbox MtEmber_Exterior_Text_Grunt1PostBattle
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, EventScript_1639DB goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_EventScript_DefeatedBothGrunts
release release
end end
EventScript_1639DB:: @ 81639DB MtEmber_Exterior_EventScript_DefeatedBothGrunts:: @ 81639DB
msgbox gUnknown_817AAD7 msgbox MtEmber_Exterior_Text_WellRegroupDontStepInsideThere
closemessage closemessage
fadescreen FADE_TO_BLACK fadescreen FADE_TO_BLACK
removeobject 2 removeobject 2
@@ -58,44 +58,44 @@ EventScript_1639DB:: @ 81639DB
release release
end end
MtEmber_Exterior_EventScript_1639F0:: @ 81639F0 MtEmber_Exterior_EventScript_Grunt2:: @ 81639F0
lock lock
faceplayer faceplayer
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, EventScript_163A1B goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_EventScript_DefeatedGrunt2
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4 compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_163A25 goto_if_eq MtEmber_Exterior_EventScript_BattleGrunt2
msgbox gUnknown_817A88C msgbox MtEmber_Exterior_Text_YoureInTheWayGetLost
closemessage closemessage
applymovement 3, Movement_FaceOriginalDirection applymovement 3, Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
release release
end end
EventScript_163A1B:: @ 8163A1B MtEmber_Exterior_EventScript_DefeatedGrunt2:: @ 8163A1B
msgbox gUnknown_817AA99 msgbox MtEmber_Exterior_Text_Grunt2PostBattle
release release
end end
EventScript_163A25:: @ 8163A25 MtEmber_Exterior_EventScript_BattleGrunt2:: @ 8163A25
playbgm MUS_ROCKET, 0 playbgm MUS_ROCKET, 0
msgbox gUnknown_817AA56 msgbox MtEmber_Exterior_Text_Grunt2Intro
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_44, Text_17AA8A trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_Text_Grunt2Defeat
msgbox gUnknown_817AA99 msgbox MtEmber_Exterior_Text_Grunt2PostBattle
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, EventScript_1639DB goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_EventScript_DefeatedBothGrunts
release release
end end
MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E MtEmber_Exterior_EventScript_RocketPasswordScene:: @ 8163A4E
lockall lockall
textcolor 0 textcolor 0
msgbox gUnknown_817A8B4 msgbox MtEmber_Exterior_Text_PunchedThroughAtLast
message Text_17A8EE message MtEmber_Exterior_Text_WhatsPasswordAgain
waitmessage waitmessage
playse SE_PIN playse SE_PIN
applymovement 3, Movement_QuestionMark applymovement 3, Movement_QuestionMark
waitmovement 0 waitmovement 0
waitbuttonpress waitbuttonpress
msgbox gUnknown_817A970 msgbox MtEmber_Exterior_Text_FirstPasswordGoldeen
applymovement 2, Movement_WalkInPlaceFastestDown applymovement 2, Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
playse SE_PIN playse SE_PIN
@@ -105,23 +105,23 @@ MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E
waitmovement 0 waitmovement 0
applymovement 3, Movement_WalkInPlaceFastestDown applymovement 3, Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
call EventScript_163960 call MtEmber_Exterior_EventScript_RocketsFaceDown
msgbox gUnknown_817A9E1 msgbox MtEmber_Exterior_Text_SnoopsBeenListeningIn
setvar VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2 setvar VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2
releaseall releaseall
end end
MtEmber_Exterior_EventScript_163AB4:: @ 8163AB4 MtEmber_Exterior_EventScript_Logan:: @ 8163AB4
trainerbattle_single TRAINER_PKMN_RANGER_LOGAN, Text_17AB73, Text_17ABAA trainerbattle_single TRAINER_PKMN_RANGER_LOGAN, MtEmber_Exterior_Text_LoganIntro, MtEmber_Exterior_Text_LoganDefeat
msgbox gUnknown_817ABD8, MSGBOX_AUTOCLOSE msgbox MtEmber_Exterior_Text_LoganPostBattle, MSGBOX_AUTOCLOSE
end end
MtEmber_Exterior_EventScript_163ACB:: @ 8163ACB MtEmber_Exterior_EventScript_Beth:: @ 8163ACB
trainerbattle_single TRAINER_PKMN_RANGER_BETH, Text_17AC55, Text_17AC82 trainerbattle_single TRAINER_PKMN_RANGER_BETH, MtEmber_Exterior_Text_BethIntro, MtEmber_Exterior_Text_BethDefeat
msgbox gUnknown_817ACA2, MSGBOX_AUTOCLOSE msgbox MtEmber_Exterior_Text_BethPostBattle, MSGBOX_AUTOCLOSE
end end
MtEmber_Exterior_EventScript_163AE2:: @ 8163AE2 MtEmber_Exterior_EventScript_Jocelyn:: @ 8163AE2
trainerbattle_single TRAINER_CRUSH_GIRL_JOCELYN, Text_17AD06, Text_17AD6B trainerbattle_single TRAINER_CRUSH_GIRL_JOCELYN, MtEmber_Exterior_Text_JocelynIntro, MtEmber_Exterior_Text_JocelynDefeat
msgbox gUnknown_817AD89, MSGBOX_AUTOCLOSE msgbox MtEmber_Exterior_Text_JocelynPostBattle, MSGBOX_AUTOCLOSE
end end
+27 -26
View File
@@ -20,7 +20,8 @@ Text_ExplosionTaught:: @ 817A756
.string "volcano…\p" .string "volcano…\p"
.string "What a terrifying thrill!$" .string "What a terrifying thrill!$"
Text_17A797:: @ 817A797 @ Below 4 are unused JP versions of the above texts
Text_ExplosionTeachJP:: @ 817A797
.string "こ この かざんが\n" .string "こ この かざんが\n"
.string "もし だいばくはつ したら\l" .string "もし だいばくはつ したら\l"
.string "お おれら ひとたまりも\l" .string "お おれら ひとたまりも\l"
@@ -28,72 +29,72 @@ Text_17A797:: @ 817A797
.string "こ こわい ついでに\n" .string "こ こわい ついでに\n"
.string "だいばくはつ でも おぼえてみる?$" .string "だいばくはつ でも おぼえてみる?$"
Text_17A7E5:: @ 817A7E5 Text_ExplosionDeclinedJP:: @ 817A7E5
.string "や やっぱ こわいもんな\n" .string "や やっぱ こわいもんな\n"
.string "ブルブル$" .string "ブルブル$"
Text_17A7F7:: @ 817A7F7 Text_ExplosionWhichMonJP:: @ 817A7F7
.string "つ つよきだね!\n" .string "つ つよきだね!\n"
.string "じゃあ どの ポケモンに する?$" .string "じゃあ どの ポケモンに する?$"
Text_17A811:: @ 817A811 Text_ExplosionTaughtJP:: @ 817A811
.string "かざんで だいばくはつを‥\n" .string "かざんで だいばくはつを‥\n"
.string "す すごい スリル!$" .string "す すごい スリル!$"
gUnknown_817A82A:: @ 817A82A MtEmber_Exterior_Text_WellTryDiggingHere:: @ 817A82A
.string "Over here.\n" .string "Over here.\n"
.string "We'll try digging here.\p" .string "We'll try digging here.\p"
.string "That treasure the ADMINS've been\n" .string "That treasure the ADMINS've been\n"
.string "talking about should be here.$" .string "talking about should be here.$"
gUnknown_817A88C:: @ 817A88C MtEmber_Exterior_Text_YoureInTheWayGetLost:: @ 817A88C
.string "What the…?\n" .string "What the…?\n"
.string "You're in the way. Get lost.$" .string "You're in the way. Get lost.$"
gUnknown_817A8B4:: @ 817A8B4 MtEmber_Exterior_Text_PunchedThroughAtLast:: @ 817A8B4
.string "Whew, punched through at last.\n" .string "Whew, punched through at last.\n"
.string "Let's go treasure hunting!$" .string "Let's go treasure hunting!$"
Text_17A8EE:: @ 817A8EE MtEmber_Exterior_Text_WhatsPasswordAgain:: @ 817A8EE
.string "Any treasure we find, we haul back\n" .string "Any treasure we find, we haul back\n"
.string "to the WAREHOUSE, understood?\p" .string "to the WAREHOUSE, understood?\p"
.string "…Oh, and what're the passwords?\n" .string "…Oh, and what're the passwords?\n"
.string "At the ROCKET WAREHOUSE, I mean.$" .string "At the ROCKET WAREHOUSE, I mean.$"
gUnknown_817A970:: @ 817A970 MtEmber_Exterior_Text_FirstPasswordGoldeen:: @ 817A970
.string "What, you forgot the password?\n" .string "What, you forgot the password?\n"
.string "There're actually two.\p" .string "There're actually two.\p"
.string "The first one's “GOLDEEN need\n" .string "The first one's “GOLDEEN need\n"
.string "log.”\p" .string "log.”\p"
.string "And the second one is…$" .string "And the second one is…$"
gUnknown_817A9E1:: @ 817A9E1 MtEmber_Exterior_Text_SnoopsBeenListeningIn:: @ 817A9E1
.string "Hey!\n" .string "Hey!\n"
.string "This snoop's been listening in!$" .string "This snoop's been listening in!$"
gUnknown_817AA06:: @ 817AA06 MtEmber_Exterior_Text_Grunt1Intro:: @ 817AA06
.string "You've been eavesdropping on us,\n" .string "You've been eavesdropping on us,\n"
.string "haven't you?$" .string "haven't you?$"
Text_17AA34:: @ 817AA34 MtEmber_Exterior_Text_Grunt1Defeat:: @ 817AA34
.string "Huh, what?$" .string "Huh, what?$"
gUnknown_817AA3F:: @ 817AA3F MtEmber_Exterior_Text_Grunt1PostBattle:: @ 817AA3F
.string "Why'd you have to win?$" .string "Why'd you have to win?$"
gUnknown_817AA56:: @ 817AA56 MtEmber_Exterior_Text_Grunt2Intro:: @ 817AA56
.string "Trying to horn in on our treasure?\n" .string "Trying to horn in on our treasure?\n"
.string "Don't bet on it!$" .string "Don't bet on it!$"
Text_17AA8A:: @ 817AA8A MtEmber_Exterior_Text_Grunt2Defeat:: @ 817AA8A
.string "Wait!\n" .string "Wait!\n"
.string "But how?$" .string "But how?$"
gUnknown_817AA99:: @ 817AA99 MtEmber_Exterior_Text_Grunt2PostBattle:: @ 817AA99
.string "Develop amnesia conveniently and\n" .string "Develop amnesia conveniently and\n"
.string "forget everything you heard!$" .string "forget everything you heard!$"
gUnknown_817AAD7:: @ 817AAD7 MtEmber_Exterior_Text_WellRegroupDontStepInsideThere:: @ 817AAD7
.string "What a setback…\n" .string "What a setback…\n"
.string "We'll have to regroup.\p" .string "We'll have to regroup.\p"
.string "You! Don't even think about taking\n" .string "You! Don't even think about taking\n"
@@ -101,43 +102,43 @@ gUnknown_817AAD7:: @ 817AAD7
.string "If you know what's good for you,\n" .string "If you know what's good for you,\n"
.string "don't even think about this!$" .string "don't even think about this!$"
Text_17AB73:: @ 817AB73 MtEmber_Exterior_Text_LoganIntro:: @ 817AB73
.string "An active volcano is one that's\n" .string "An active volcano is one that's\n"
.string "erupting, or about to.$" .string "erupting, or about to.$"
Text_17ABAA:: @ 817ABAA MtEmber_Exterior_Text_LoganDefeat:: @ 817ABAA
.string "Whew… That was hot!\n" .string "Whew… That was hot!\n"
.string "Sweat's erupting from me!$" .string "Sweat's erupting from me!$"
gUnknown_817ABD8:: @ 817ABD8 MtEmber_Exterior_Text_LoganPostBattle:: @ 817ABD8
.string "They say there're over 1,500\n" .string "They say there're over 1,500\n"
.string "active volcanoes in the world.\p" .string "active volcanoes in the world.\p"
.string "Just thinking about them makes me\n" .string "Just thinking about them makes me\n"
.string "feel all hot and gooey inside!$" .string "feel all hot and gooey inside!$"
Text_17AC55:: @ 817AC55 MtEmber_Exterior_Text_BethIntro:: @ 817AC55
.string "Do you know how caves form inside\n" .string "Do you know how caves form inside\n"
.string "volcanoes?$" .string "volcanoes?$"
Text_17AC82:: @ 817AC82 MtEmber_Exterior_Text_BethDefeat:: @ 817AC82
.string "Atchah!\n" .string "Atchah!\n"
.string "You're shockingly good!$" .string "You're shockingly good!$"
gUnknown_817ACA2:: @ 817ACA2 MtEmber_Exterior_Text_BethPostBattle:: @ 817ACA2
.string "When lava at the surface of magma\n" .string "When lava at the surface of magma\n"
.string "hardens, and the magma inside flows\l" .string "hardens, and the magma inside flows\l"
.string "out, caverns are left behind.$" .string "out, caverns are left behind.$"
Text_17AD06:: @ 817AD06 MtEmber_Exterior_Text_JocelynIntro:: @ 817AD06
.string "I've been in training so I can mend\n" .string "I've been in training so I can mend\n"
.string "my broken heart…\p" .string "my broken heart…\p"
.string "It toughened me up physically at\n" .string "It toughened me up physically at\n"
.string "least! Hi-yah!$" .string "least! Hi-yah!$"
Text_17AD6B:: @ 817AD6B MtEmber_Exterior_Text_JocelynDefeat:: @ 817AD6B
.string "I think I tried to overdo it…$" .string "I think I tried to overdo it…$"
gUnknown_817AD89:: @ 817AD89 MtEmber_Exterior_Text_JocelynPostBattle:: @ 817AD89
.string "The way you battle, it reminds me\n" .string "The way you battle, it reminds me\n"
.string "of the guy who dumped me…$" .string "of the guy who dumped me…$"
+3 -3
View File
@@ -1,12 +1,12 @@
MtEmber_RubyPath_B3F_MapScripts:: @ 8163C48 MtEmber_RubyPath_B3F_MapScripts:: @ 8163C48
.byte 0 .byte 0
MtEmber_RubyPath_B3F_EventScript_163C49:: @ 8163C49 @ Odd that this is here and not in MtEmber_RubyPath_B5F/scripts.inc
MtEmber_RubyPath_B5F_EventScript_163C49:: @ 8163C49 MtEmber_RubyPath_B5F_EventScript_Ruby:: @ 8163C49
lock lock
faceplayer faceplayer
setflag FLAG_GOT_RUBY setflag FLAG_GOT_RUBY
removeobject 1 removeobject 1
giveitem_msg gUnknown_817ADC5, ITEM_RUBY, 1, MUS_FAN5 giveitem_msg MtEmber_RubyPath_B3F_Text_FoundARuby, ITEM_RUBY, 1, MUS_FAN5
release release
end end
+1 -1
View File
@@ -1,3 +1,3 @@
gUnknown_817ADC5:: @ 817ADC5 MtEmber_RubyPath_B3F_Text_FoundARuby:: @ 817ADC5
.string "{PLAYER} found a RUBY!$" .string "{PLAYER} found a RUBY!$"
+26 -26
View File
@@ -36,182 +36,182 @@
"x": 3, "x": 3,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 4, "x": 4,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 5, "x": 5,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 4, "x": 4,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 3, "x": 3,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 5, "x": 5,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 3, "x": 3,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 4, "x": 4,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 5, "x": 5,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 3, "x": 3,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 4, "x": 4,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 5, "x": 5,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 7, "x": 7,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 8, "x": 8,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 9, "x": 9,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 7, "x": 7,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 8, "x": 8,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 9, "x": 9,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 7, "x": 7,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922" "script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 11, "x": 11,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163934" "script": "MtEmber_RubyPath_B4F_EventScript_BraillePeriod"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 11, "x": 11,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16393D" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleComma"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 8, "x": 8,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922" "script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 9, "x": 9,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922" "script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 7, "x": 7,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 9, "x": 9,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
}, },
{ {
"type": "bg_event_type_1", "type": "bg_event_type_1",
"x": 8, "x": 8,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B" "script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
} }
] ]
} }
+20 -20
View File
@@ -1,72 +1,72 @@
MtEmber_RubyPath_B4F_MapScripts:: @ 81638EB MtEmber_RubyPath_B4F_MapScripts:: @ 81638EB
.byte 0 .byte 0
MtEmber_RubyPath_B4F_EventScript_1638EC:: @ 81638EC MtEmber_RubyPath_B4F_EventScript_BrailleABC:: @ 81638EC
lockall lockall
braillemessage gUnknown_81A929F braillemessage Braille_Text_ABC
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_1638F5:: @ 81638F5 MtEmber_RubyPath_B4F_EventScript_BrailleGHI:: @ 81638F5
lockall lockall
braillemessage gUnknown_81A92A3 braillemessage Braille_Text_GHI
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_1638FE:: @ 81638FE MtEmber_RubyPath_B4F_EventScript_BrailleMNO:: @ 81638FE
lockall lockall
braillemessage gUnknown_81A92A7 braillemessage Braille_Text_MNO
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_163907:: @ 8163907 MtEmber_RubyPath_B4F_EventScript_BrailleTUV:: @ 8163907
lockall lockall
braillemessage gUnknown_81A92AB braillemessage Braille_Text_TUV
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_163910:: @ 8163910 MtEmber_RubyPath_B4F_EventScript_BrailleDEF:: @ 8163910
lockall lockall
braillemessage gUnknown_81A92AF braillemessage Braille_Text_DEF
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_163919:: @ 8163919 MtEmber_RubyPath_B4F_EventScript_BrailleJKL:: @ 8163919
lockall lockall
braillemessage gUnknown_81A92B3 braillemessage Braille_Text_JKL
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_163922:: @ 8163922 MtEmber_RubyPath_B4F_EventScript_BraillePQRS:: @ 8163922
lockall lockall
braillemessage gUnknown_81A92B7 braillemessage Braille_Text_PQRS
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_16392B:: @ 816392B MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ:: @ 816392B
lockall lockall
braillemessage gUnknown_81A92BC braillemessage Braille_Text_WXYZ
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_163934:: @ 8163934 MtEmber_RubyPath_B4F_EventScript_BraillePeriod:: @ 8163934
lockall lockall
braillemessage gUnknown_81A92C1 braillemessage Braille_Text_Period
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
MtEmber_RubyPath_B4F_EventScript_16393D:: @ 816393D MtEmber_RubyPath_B4F_EventScript_BrailleComma:: @ 816393D
lockall lockall
braillemessage gUnknown_81A92C3 braillemessage Braille_Text_Comma
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
+2 -2
View File
@@ -23,7 +23,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_RubyPath_B5F_EventScript_163C49", "script": "MtEmber_RubyPath_B5F_EventScript_Ruby",
"flag": "FLAG_HIDE_RUBY" "flag": "FLAG_HIDE_RUBY"
} }
], ],
@@ -43,7 +43,7 @@
"x": 7, "x": 7,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "MtEmber_RubyPath_B5F_EventScript_163BAB" "script": "MtEmber_RubyPath_B5F_EventScript_BrailleMessage"
} }
] ]
} }
+9 -30
View File
@@ -1,38 +1,17 @@
MtEmber_RubyPath_B5F_MapScripts:: @ 8163BAA MtEmber_RubyPath_B5F_MapScripts:: @ 8163BAA
.byte 0 .byte 0
MtEmber_RubyPath_B5F_EventScript_163BAB:: @ 8163BAB MtEmber_RubyPath_B5F_EventScript_BrailleMessage:: @ 8163BAB
lockall lockall
setvar VAR_0x8005, 130 setvar VAR_0x8005, 130
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_Everything
braillemessage gUnknown_81A92C5 braillemessage_wait Braille_Text_HasMeaning1
getbraillestringwidth gUnknown_81A92C5 braillemessage_wait Braille_Text_Existence
call EventScript_BrailleCursorWaitButton braillemessage_wait Braille_Text_HasMeaning2
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_BeingAlive
braillemessage gUnknown_81A92D0 braillemessage_wait Braille_Text_HasMeaning3
getbraillestringwidth gUnknown_81A92D0 braillemessage_wait Braille_Text_HaveDreams
call EventScript_BrailleCursorWaitButton braillemessage Braille_Text_UsePower
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92DC
getbraillestringwidth gUnknown_81A92DC
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92E6
getbraillestringwidth gUnknown_81A92E6
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92F2
getbraillestringwidth gUnknown_81A92F2
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92FE
getbraillestringwidth gUnknown_81A92FE
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A930A
getbraillestringwidth gUnknown_81A930A
call EventScript_BrailleCursorWaitButton
braillemessage gUnknown_81A9316
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": 0, "trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0, "trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_Summit_EventScript_163B33", "script": "MtEmber_Summit_EventScript_Moltres",
"flag": "FLAG_HIDE_MOLTRES" "flag": "FLAG_HIDE_MOLTRES"
}, },
{ {
+11 -11
View File
@@ -4,10 +4,10 @@ MtEmber_Summit_MapScripts:: @ 8163AFC
.byte 0 .byte 0
MtEmber_Summit_OnResume:: @ 8163B07 MtEmber_Summit_OnResume:: @ 8163B07
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_163B11 call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, MtEmber_Summit_EventScript_TryRemoveMoltres
end end
EventScript_163B11:: @ 8163B11 MtEmber_Summit_EventScript_TryRemoveMoltres:: @ 8163B11
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return goto_if_ne EventScript_Return
@@ -15,14 +15,14 @@ EventScript_163B11:: @ 8163B11
return return
MtEmber_Summit_OnTransition:: @ 8163B25 MtEmber_Summit_OnTransition:: @ 8163B25
call_if_unset FLAG_FOUGHT_MOLTRES, EventScript_163B2F call_if_unset FLAG_FOUGHT_MOLTRES, MtEmber_Summit_EventScript_ShowMoltres
end end
EventScript_163B2F:: @ 8163B2F MtEmber_Summit_EventScript_ShowMoltres:: @ 8163B2F
clearflag FLAG_HIDE_MOLTRES clearflag FLAG_HIDE_MOLTRES
return return
MtEmber_Summit_EventScript_163B33:: @ 8163B33 MtEmber_Summit_EventScript_Moltres:: @ 8163B33
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
lock lock
@@ -30,7 +30,7 @@ MtEmber_Summit_EventScript_163B33:: @ 8163B33
setwildbattle SPECIES_MOLTRES, 50, ITEM_NONE setwildbattle SPECIES_MOLTRES, 50, ITEM_NONE
waitse waitse
playmoncry SPECIES_MOLTRES, 2 playmoncry SPECIES_MOLTRES, 2
message Text_1A6448 message Text_Gyaoo
waitmessage waitmessage
waitmoncry waitmoncry
delay 10 delay 10
@@ -42,21 +42,21 @@ MtEmber_Summit_EventScript_163B33:: @ 8163B33
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_163B96 goto_if_eq MtEmber_Summit_EventScript_DefeatedMoltres
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163B9F goto_if_eq MtEmber_Summit_EventScript_RanFromMoltres
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163B9F goto_if_eq MtEmber_Summit_EventScript_RanFromMoltres
setflag FLAG_FOUGHT_MOLTRES setflag FLAG_FOUGHT_MOLTRES
release release
end end
EventScript_163B96:: @ 8163B96 MtEmber_Summit_EventScript_DefeatedMoltres:: @ 8163B96
setflag FLAG_FOUGHT_MOLTRES setflag FLAG_FOUGHT_MOLTRES
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
end end
EventScript_163B9F:: @ 8163B9F MtEmber_Summit_EventScript_RanFromMoltres:: @ 8163B9F
setvar VAR_0x8004, SPECIES_MOLTRES setvar VAR_0x8004, SPECIES_MOLTRES
goto EventScript_MonFlewAway goto EventScript_MonFlewAway
end end
+3 -3
View File
@@ -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": "PowerPlant_EventScript_1637B8", "script": "PowerPlant_EventScript_Zapdos",
"flag": "FLAG_HIDE_ZAPDOS" "flag": "FLAG_HIDE_ZAPDOS"
}, },
{ {
@@ -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": "PowerPlant_EventScript_16388D", "script": "PowerPlant_EventScript_Electrode2",
"flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_2" "flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_2"
}, },
{ {
@@ -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": "PowerPlant_EventScript_16382F", "script": "PowerPlant_EventScript_Electrode1",
"flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_1" "flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_1"
} }
], ],
+25 -25
View File
@@ -4,10 +4,10 @@ PowerPlant_MapScripts:: @ 8163764
.byte 0 .byte 0
PowerPlant_OnResume:: @ 816376F PowerPlant_OnResume:: @ 816376F
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_163779 call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, PowerPlant_EventScript_TryRemoveStaticMon
end end
EventScript_163779:: @ 8163779 PowerPlant_EventScript_TryRemoveStaticMon:: @ 8163779
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return goto_if_ne EventScript_Return
@@ -16,24 +16,24 @@ EventScript_163779:: @ 8163779
PowerPlant_OnTransition:: @ 816378D PowerPlant_OnTransition:: @ 816378D
setworldmapflag FLAG_WORLD_MAP_POWER_PLANT setworldmapflag FLAG_WORLD_MAP_POWER_PLANT
call_if_unset FLAG_FOUGHT_ZAPDOS, EventScript_1637AC call_if_unset FLAG_FOUGHT_ZAPDOS, PowerPlant_EventScript_ShowZapdos
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1, EventScript_1637B0 call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1, PowerPlant_EventScript_ShowElectrode1
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2, EventScript_1637B4 call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2, PowerPlant_EventScript_ShowElectrode2
end end
EventScript_1637AC:: @ 81637AC PowerPlant_EventScript_ShowZapdos:: @ 81637AC
clearflag FLAG_HIDE_ZAPDOS clearflag FLAG_HIDE_ZAPDOS
return return
EventScript_1637B0:: @ 81637B0 PowerPlant_EventScript_ShowElectrode1:: @ 81637B0
clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_1 clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_1
return return
EventScript_1637B4:: @ 81637B4 PowerPlant_EventScript_ShowElectrode2:: @ 81637B4
clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_2 clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_2
return return
PowerPlant_EventScript_1637B8:: @ 81637B8 PowerPlant_EventScript_Zapdos:: @ 81637B8
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
lock lock
@@ -41,7 +41,7 @@ PowerPlant_EventScript_1637B8:: @ 81637B8
setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE
waitse waitse
playmoncry SPECIES_ZAPDOS, 2 playmoncry SPECIES_ZAPDOS, 2
message Text_1A6448 message Text_Gyaoo
waitmessage waitmessage
waitmoncry waitmoncry
delay 10 delay 10
@@ -53,26 +53,26 @@ PowerPlant_EventScript_1637B8:: @ 81637B8
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_16381B goto_if_eq PowerPlant_EventScript_DefeatedZapdos
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163824 goto_if_eq PowerPlant_EventScript_RanFromZapdos
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163824 goto_if_eq PowerPlant_EventScript_RanFromZapdos
setflag FLAG_FOUGHT_ZAPDOS setflag FLAG_FOUGHT_ZAPDOS
release release
end end
EventScript_16381B:: @ 816381B PowerPlant_EventScript_DefeatedZapdos:: @ 816381B
setflag FLAG_FOUGHT_ZAPDOS setflag FLAG_FOUGHT_ZAPDOS
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
end end
EventScript_163824:: @ 8163824 PowerPlant_EventScript_RanFromZapdos:: @ 8163824
setvar VAR_0x8004, SPECIES_ZAPDOS setvar VAR_0x8004, SPECIES_ZAPDOS
goto EventScript_MonFlewAway goto EventScript_MonFlewAway
end end
PowerPlant_EventScript_16382F:: @ 816382F PowerPlant_EventScript_Electrode1:: @ 816382F
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
lock lock
faceplayer faceplayer
@@ -87,21 +87,21 @@ PowerPlant_EventScript_16382F:: @ 816382F
special sub_8112364 special sub_8112364
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_163884 goto_if_eq PowerPlant_EventScript_FoughtElectrode1
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163884 goto_if_eq PowerPlant_EventScript_FoughtElectrode1
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163884 goto_if_eq PowerPlant_EventScript_FoughtElectrode1
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1 setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1
release release
end end
EventScript_163884:: @ 8163884 PowerPlant_EventScript_FoughtElectrode1:: @ 8163884
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1 setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
end end
PowerPlant_EventScript_16388D:: @ 816388D PowerPlant_EventScript_Electrode2:: @ 816388D
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
lock lock
faceplayer faceplayer
@@ -116,16 +116,16 @@ PowerPlant_EventScript_16388D:: @ 816388D
special sub_8112364 special sub_8112364
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_1638E2 goto_if_eq PowerPlant_EventScript_FoughtElectrode2
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_1638E2 goto_if_eq PowerPlant_EventScript_FoughtElectrode2
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_1638E2 goto_if_eq PowerPlant_EventScript_FoughtElectrode2
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2 setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2
release release
end end
EventScript_1638E2:: @ 81638E2 PowerPlant_EventScript_FoughtElectrode2:: @ 81638E2
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2 setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
end end
+3 -3
View File
@@ -91,7 +91,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": "Route12_EventScript_168014", "script": "Route12_EventScript_Snorlax",
"flag": "FLAG_HIDE_ROUTE_12_SNORLAX" "flag": "FLAG_HIDE_ROUTE_12_SNORLAX"
}, },
{ {
@@ -249,14 +249,14 @@
"x": 17, "x": 17,
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"script": "Route12_EventScript_1680A3" "script": "Route12_EventScript_RouteSign"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 15, "x": 15,
"y": 69, "y": 69,
"elevation": 0, "elevation": 0,
"script": "Route12_EventScript_1680AC" "script": "Route12_EventScript_FishingSign"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
+18 -18
View File
@@ -3,22 +3,22 @@ Route12_MapScripts:: @ 8168000
.byte 0 .byte 0
Route12_OnResume:: @ 8168006 Route12_OnResume:: @ 8168006
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_168010 call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route12_EventScript_TryRemoveSnorlax
end end
EventScript_168010:: @ 8168010 Route12_EventScript_TryRemoveSnorlax:: @ 8168010
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
Route12_EventScript_168014:: @ 8168014 Route12_EventScript_Snorlax:: @ 8168014
lock lock
faceplayer faceplayer
goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_168099 goto_if_unset FLAG_GOT_POKE_FLUTE, Route12_EventScript_SnorlaxNoPokeFlute
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
msgbox gUnknown_81853CC, MSGBOX_YESNO msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_16808D goto_if_eq Route12_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse waitse
@@ -32,32 +32,32 @@ Route12_EventScript_168014:: @ 8168014
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_16808F goto_if_eq Route12_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_16808F goto_if_eq Route12_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_16808F goto_if_eq Route12_EventScript_FoughtSnorlax
release release
end end
EventScript_16808D:: @ 816808D Route12_EventScript_DontUsePokeFlute:: @ 816808D
release release
end end
EventScript_16808F:: @ 816808F Route12_EventScript_FoughtSnorlax:: @ 816808F
msgbox gUnknown_8185383 msgbox Text_SnorlaxReturnedToMountains
release release
end end
EventScript_168099:: @ 8168099 Route12_EventScript_SnorlaxNoPokeFlute:: @ 8168099
msgbox gUnknown_8185317 msgbox Route12_Text_MonSprawledOutInSlumber
release release
end end
Route12_EventScript_1680A3:: @ 81680A3 Route12_EventScript_RouteSign:: @ 81680A3
msgbox gUnknown_8185797, MSGBOX_SIGN msgbox Route12_Text_RouteSign, MSGBOX_SIGN
end end
Route12_EventScript_1680AC:: @ 81680AC Route12_EventScript_FishingSign:: @ 81680AC
msgbox gUnknown_81857B3, MSGBOX_SIGN msgbox Route12_Text_SportfishingArea, MSGBOX_SIGN
end end
+5 -5
View File
@@ -1,4 +1,4 @@
gUnknown_8185317:: @ 8185317 Route12_Text_MonSprawledOutInSlumber:: @ 8185317
.string "A POKéMON is sprawled out in\n" .string "A POKéMON is sprawled out in\n"
.string "a deep and comfortable slumber.$" .string "a deep and comfortable slumber.$"
@@ -6,12 +6,12 @@ Text_SnorlaxWokeUp:: @ 8185354
.string "SNORLAX woke up!\p" .string "SNORLAX woke up!\p"
.string "It attacked in a grumpy rage!$" .string "It attacked in a grumpy rage!$"
gUnknown_8185383:: @ 8185383 Text_SnorlaxReturnedToMountains:: @ 8185383
.string "SNORLAX calmed down.\n" .string "SNORLAX calmed down.\n"
.string "It gave a huge yawn…\l" .string "It gave a huge yawn…\l"
.string "And returned to the mountains.$" .string "And returned to the mountains.$"
gUnknown_81853CC:: @ 81853CC Text_WantToUsePokeFlute:: @ 81853CC
.string "Want to use the POKé FLUTE?$" .string "Want to use the POKé FLUTE?$"
Text_PlayedPokeFlute:: @ 81853E8 Text_PlayedPokeFlute:: @ 81853E8
@@ -102,10 +102,10 @@ Text_18574D:: @ 818574D
.string "I catch them all the time, sure.\n" .string "I catch them all the time, sure.\n"
.string "But, boy are they wimpy.$" .string "But, boy are they wimpy.$"
gUnknown_8185797:: @ 8185797 Route12_Text_RouteSign:: @ 8185797
.string "ROUTE 12 \n" .string "ROUTE 12 \n"
.string "North to LAVENDER$" .string "North to LAVENDER$"
gUnknown_81857B3:: @ 81857B3 Route12_Text_SportfishingArea:: @ 81857B3
.string "SPORTFISHING AREA$" .string "SPORTFISHING AREA$"
+3 -3
View File
@@ -151,7 +151,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": "Route16_EventScript_168121", "script": "Route16_EventScript_Snorlax",
"flag": "FLAG_HIDE_ROUTE_16_SNORLAX" "flag": "FLAG_HIDE_ROUTE_16_SNORLAX"
} }
], ],
@@ -199,14 +199,14 @@
"x": 6, "x": 6,
"y": 17, "y": 17,
"elevation": 0, "elevation": 0,
"script": "Route16_EventScript_1681B6" "script": "Route16_EventScript_RouteSign"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 33, "x": 33,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"script": "Route16_EventScript_1681AD" "script": "Route16_EventScript_CyclingRoadSign"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
+22 -22
View File
@@ -5,39 +5,39 @@ Route16_MapScripts:: @ 81680E5
.byte 0 .byte 0
Route16_OnResume:: @ 81680F5 Route16_OnResume:: @ 81680F5
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_1680FF call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route16_EventScript_RemoveSnorlax
end end
EventScript_1680FF:: @ 81680FF Route16_EventScript_RemoveSnorlax:: @ 81680FF
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
Route16_OnTransition:: @ 8168103 Route16_OnTransition:: @ 8168103
compare VAR_MAP_SCENE_ROUTE16, 1 compare VAR_MAP_SCENE_ROUTE16, 1
call_if_eq EventScript_16810F call_if_eq Route16_EventScript_EnterCyclingRoad
end end
EventScript_16810F:: @ 816810F Route16_EventScript_EnterCyclingRoad:: @ 816810F
setflag FLAG_SYS_ON_CYCLING_ROAD setflag FLAG_SYS_ON_CYCLING_ROAD
return return
Route16_OnWarp:: @ 8168113 Route16_OnWarp:: @ 8168113
map_script_2 VAR_MAP_SCENE_ROUTE16, 1, EventScript_16811D map_script_2 VAR_MAP_SCENE_ROUTE16, 1, Route16_EventScript_WarpIntoCyclingRoad
.2byte 0 .2byte 0
EventScript_16811D:: @ 816811D Route16_EventScript_WarpIntoCyclingRoad:: @ 816811D
special Special_ForcePlayerOntoBike special Special_ForcePlayerOntoBike
end end
Route16_EventScript_168121:: @ 8168121 Route16_EventScript_Snorlax:: @ 8168121
lock lock
faceplayer faceplayer
goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_1681A3 goto_if_unset FLAG_GOT_POKE_FLUTE, Route16_EventScript_SnorlaxNoPokeFlute
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
msgbox gUnknown_81853CC, MSGBOX_YESNO msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_168197 goto_if_eq Route16_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse waitse
@@ -50,32 +50,32 @@ Route16_EventScript_168121:: @ 8168121
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_168199 goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_168199 goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_168199 goto_if_eq Route16_EventScript_FoughtSnorlax
release release
end end
EventScript_168197:: @ 8168197 Route16_EventScript_DontUsePokeFlute:: @ 8168197
release release
end end
EventScript_168199:: @ 8168199 Route16_EventScript_FoughtSnorlax:: @ 8168199
msgbox gUnknown_8185383 msgbox Text_SnorlaxReturnedToMountains
release release
end end
EventScript_1681A3:: @ 81681A3 Route16_EventScript_SnorlaxNoPokeFlute:: @ 81681A3
msgbox gUnknown_8186F3D msgbox Route16_Text_MonSprawledOutInSlumber
release release
end end
Route16_EventScript_1681AD:: @ 81681AD Route16_EventScript_CyclingRoadSign:: @ 81681AD
msgbox gUnknown_8186F7A, MSGBOX_SIGN msgbox Route16_Text_CyclingRoadSign, MSGBOX_SIGN
end end
Route16_EventScript_1681B6:: @ 81681B6 Route16_EventScript_RouteSign:: @ 81681B6
msgbox gUnknown_8186F98, MSGBOX_SIGN msgbox Route16_Text_RouteSign, MSGBOX_SIGN
end end
+3 -3
View File
@@ -99,15 +99,15 @@ Text_186EC7:: @ 8186EC7
.string "They're great for startling people.\n" .string "They're great for startling people.\n"
.string "And, they bite, too.$" .string "And, they bite, too.$"
gUnknown_8186F3D:: @ 8186F3D Route16_Text_MonSprawledOutInSlumber:: @ 8186F3D
.string "A POKéMON is sprawled out in\n" .string "A POKéMON is sprawled out in\n"
.string "a deep and comfortable slumber.$" .string "a deep and comfortable slumber.$"
gUnknown_8186F7A:: @ 8186F7A Route16_Text_CyclingRoadSign:: @ 8186F7A
.string "Enjoy the slope!\n" .string "Enjoy the slope!\n"
.string "CYCLING ROAD$" .string "CYCLING ROAD$"
gUnknown_8186F98:: @ 8186F98 Route16_Text_RouteSign:: @ 8186F98
.string "ROUTE 16\n" .string "ROUTE 16\n"
.string "CELADON CITY - FUCHSIA CITY$" .string "CELADON CITY - FUCHSIA CITY$"
+31 -29
View File
@@ -1,71 +1,73 @@
.equ NUM_BOULDERS_PRESENT, VAR_TEMP_2
SeafoamIslands_B3F_MapScripts:: @ 8162F4F SeafoamIslands_B3F_MapScripts:: @ 8162F4F
map_script MAP_SCRIPT_ON_TRANSITION, SeafoamIslands_B3F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, SeafoamIslands_B3F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, SeafoamIslands_B3F_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, SeafoamIslands_B3F_OnFrame
.byte 0 .byte 0
SeafoamIslands_B3F_OnTransition:: @ 8162F5A SeafoamIslands_B3F_OnTransition:: @ 8162F5A
call_if_unset FLAG_STOPPED_SEAFOAM_B3F_CURRENT, EventScript_162F6D call_if_unset FLAG_STOPPED_SEAFOAM_B3F_CURRENT, SeafoamIslands_B3F_EventScript_CheckStoppedCurrent
call_if_set FLAG_STOPPED_SEAFOAM_B3F_CURRENT, EventScript_162F94 call_if_set FLAG_STOPPED_SEAFOAM_B3F_CURRENT, SeafoamIslands_B3F_EventScript_SetNoCurrentLayout
end end
EventScript_162F6D:: @ 8162F6D SeafoamIslands_B3F_EventScript_CheckStoppedCurrent:: @ 8162F6D
setvar VAR_TEMP_2, 0 setvar NUM_BOULDERS_PRESENT, 0
call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_1, EventScript_162FF0 call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_1, SeafoamIslands_B3F_EventScript_AddBoulderPresent
call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_2, EventScript_162FF0 call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_2, SeafoamIslands_B3F_EventScript_AddBoulderPresent
compare VAR_TEMP_2, 2 compare NUM_BOULDERS_PRESENT, 2
call_if_eq EventScript_162F90 call_if_eq SeafoamIslands_B3F_EventScript_StoppedCurrent
return return
EventScript_162F90:: @ 8162F90 SeafoamIslands_B3F_EventScript_StoppedCurrent:: @ 8162F90
setflag FLAG_STOPPED_SEAFOAM_B3F_CURRENT setflag FLAG_STOPPED_SEAFOAM_B3F_CURRENT
return return
EventScript_162F94:: @ 8162F94 SeafoamIslands_B3F_EventScript_SetNoCurrentLayout:: @ 8162F94
setmaplayoutindex LAYOUT_UNUSED_LAYOUT_833B6EC setmaplayoutindex LAYOUT_SEAFOAM_ISLANDS_B3F_CURRENT_STOPPED
return return
SeafoamIslands_B3F_OnFrame:: @ 8162F98 SeafoamIslands_B3F_OnFrame:: @ 8162F98
map_script_2 VAR_TEMP_1, 1, EventScript_162FA2 map_script_2 VAR_TEMP_1, 1, SeafoamIslands_B3F_EventScript_EnterByFalling
.2byte 0 .2byte 0
EventScript_162FA2:: @ 8162FA2 SeafoamIslands_B3F_EventScript_EnterByFalling:: @ 8162FA2
lockall lockall
setvar VAR_TEMP_2, 0 setvar NUM_BOULDERS_PRESENT, 0
call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_1, EventScript_162FF0 call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_1, SeafoamIslands_B3F_EventScript_AddBoulderPresent
call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_2, EventScript_162FF0 call_if_unset FLAG_HIDE_SEAFOAM_B3F_BOULDER_2, SeafoamIslands_B3F_EventScript_AddBoulderPresent
compare VAR_TEMP_2, 2 compare NUM_BOULDERS_PRESENT, 2
goto_if_eq EventScript_16300C goto_if_eq SeafoamIslands_B3F_EventScript_CurrentBlocked
getplayerxy VAR_0x8008, VAR_0x8009 getplayerxy VAR_0x8008, VAR_0x8009
compare VAR_0x8008, 24 compare VAR_0x8008, 24
call_if_lt EventScript_162FF6 call_if_lt SeafoamIslands_B3F_EventScript_RideCurrentFar
compare VAR_0x8008, 24 compare VAR_0x8008, 24
call_if_ge EventScript_163001 call_if_ge SeafoamIslands_B3F_EventScript_RideCurrentClose
setvar VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1 setvar VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1
warp MAP_SEAFOAM_ISLANDS_B4F, 255, 27, 21 warp MAP_SEAFOAM_ISLANDS_B4F, 255, 27, 21
waitstate waitstate
releaseall releaseall
end end
EventScript_162FF0:: @ 8162FF0 SeafoamIslands_B3F_EventScript_AddBoulderPresent:: @ 8162FF0
addvar VAR_TEMP_2, 1 addvar NUM_BOULDERS_PRESENT, 1
return return
EventScript_162FF6:: @ 8162FF6 SeafoamIslands_B3F_EventScript_RideCurrentFar:: @ 8162FF6
applymovement OBJ_EVENT_ID_PLAYER, Movement_163013 applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B3F_Movement_RideCurrentFar
waitmovement 0 waitmovement 0
return return
EventScript_163001:: @ 8163001 SeafoamIslands_B3F_EventScript_RideCurrentClose:: @ 8163001
applymovement OBJ_EVENT_ID_PLAYER, Movement_163021 applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B3F_Movement_RideCurrentClose
waitmovement 0 waitmovement 0
return return
EventScript_16300C:: @ 816300C SeafoamIslands_B3F_EventScript_CurrentBlocked:: @ 816300C
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
releaseall releaseall
end end
Movement_163013:: @ 8163013 SeafoamIslands_B3F_Movement_RideCurrentFar:: @ 8163013
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
@@ -81,7 +83,7 @@ Movement_163013:: @ 8163013
walk_fast_down walk_fast_down
step_end step_end
Movement_163021:: @ 8163021 SeafoamIslands_B3F_Movement_RideCurrentClose:: @ 8163021
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
+6 -6
View File
@@ -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": "SeafoamIslands_B4F_EventScript_1631AC", "script": "SeafoamIslands_B4F_EventScript_Articuno",
"flag": "FLAG_HIDE_ARTICUNO" "flag": "FLAG_HIDE_ARTICUNO"
}, },
{ {
@@ -104,7 +104,7 @@
"elevation": 1, "elevation": 1,
"var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F", "var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F",
"var_value": 0, "var_value": 0,
"script": "SeafoamIslands_B4F_EventScript_16319D" "script": "SeafoamIslands_B4F_EventScript_UpwardCurrent"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -113,7 +113,7 @@
"elevation": 1, "elevation": 1,
"var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F", "var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F",
"var_value": 0, "var_value": 0,
"script": "SeafoamIslands_B4F_EventScript_16319D" "script": "SeafoamIslands_B4F_EventScript_UpwardCurrent"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -122,7 +122,7 @@
"elevation": 1, "elevation": 1,
"var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F", "var": "VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F",
"var_value": 0, "var_value": 0,
"script": "SeafoamIslands_B4F_EventScript_16319D" "script": "SeafoamIslands_B4F_EventScript_UpwardCurrent"
} }
], ],
"bg_events": [ "bg_events": [
@@ -141,14 +141,14 @@
"x": 30, "x": 30,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"script": "SeafoamIslands_B4F_EventScript_16322C" "script": "SeafoamIslands_B4F_EventScript_FastCurrentSign"
}, },
{ {
"type": "bg_event_type_0", "type": "bg_event_type_0",
"x": 14, "x": 14,
"y": 18, "y": 18,
"elevation": 0, "elevation": 0,
"script": "SeafoamIslands_B4F_EventScript_163223" "script": "SeafoamIslands_B4F_EventScript_BoulderHintSign"
} }
] ]
} }
+66 -65
View File
@@ -1,3 +1,5 @@
.equ NUM_BOULDERS_PRESENT, VAR_TEMP_2
SeafoamIslands_B4F_MapScripts:: @ 816302E SeafoamIslands_B4F_MapScripts:: @ 816302E
map_script MAP_SCRIPT_ON_TRANSITION, SeafoamIslands_B4F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, SeafoamIslands_B4F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, SeafoamIslands_B4F_OnResume map_script MAP_SCRIPT_ON_RESUME, SeafoamIslands_B4F_OnResume
@@ -7,10 +9,10 @@ SeafoamIslands_B4F_MapScripts:: @ 816302E
.byte 0 .byte 0
SeafoamIslands_B4F_OnResume:: @ 8163048 SeafoamIslands_B4F_OnResume:: @ 8163048
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_163052 call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, SeafoamIslands_B4F_EventScript_TryRemoveArticuno
end end
EventScript_163052:: @ 8163052 SeafoamIslands_B4F_EventScript_TryRemoveArticuno:: @ 8163052
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return goto_if_ne EventScript_Return
@@ -18,109 +20,111 @@ EventScript_163052:: @ 8163052
return return
SeafoamIslands_B4F_OnTransition:: @ 8163066 SeafoamIslands_B4F_OnTransition:: @ 8163066
call_if_unset FLAG_FOUGHT_ARTICUNO, EventScript_1630AD call_if_unset FLAG_FOUGHT_ARTICUNO, SeafoamIslands_B4F_EventScript_ShowArticuno
call_if_unset FLAG_STOPPED_SEAFOAM_B4F_CURRENT, EventScript_163082 call_if_unset FLAG_STOPPED_SEAFOAM_B4F_CURRENT, SeafoamIslands_B4F_EventScript_CheckStoppedCurrent
call_if_set FLAG_STOPPED_SEAFOAM_B4F_CURRENT, EventScript_1630A9 call_if_set FLAG_STOPPED_SEAFOAM_B4F_CURRENT, SeafoamIslands_B4F_EventScript_SetNoCurrentLayout
end end
EventScript_163082:: @ 8163082 SeafoamIslands_B4F_EventScript_CheckStoppedCurrent:: @ 8163082
setvar VAR_TEMP_2, 0 setvar NUM_BOULDERS_PRESENT, 0
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, SeafoamIslands_B4F_EventScript_AddBoulderPresent
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, SeafoamIslands_B4F_EventScript_AddBoulderPresent
compare VAR_TEMP_2, 2 compare NUM_BOULDERS_PRESENT, 2
call_if_eq EventScript_1630A5 call_if_eq SeafoamIslands_B4F_EventScript_StoppedCurrent
return return
EventScript_1630A5:: @ 81630A5 SeafoamIslands_B4F_EventScript_StoppedCurrent:: @ 81630A5
setflag FLAG_STOPPED_SEAFOAM_B4F_CURRENT setflag FLAG_STOPPED_SEAFOAM_B4F_CURRENT
return return
EventScript_1630A9:: @ 81630A9 SeafoamIslands_B4F_EventScript_SetNoCurrentLayout:: @ 81630A9
setmaplayoutindex LAYOUT_UNUSED_LAYOUT_833BE30 setmaplayoutindex LAYOUT_SEAFOAM_ISLANDS_B4F_CURRENT_STOPPED
return return
EventScript_1630AD:: @ 81630AD SeafoamIslands_B4F_EventScript_ShowArticuno:: @ 81630AD
clearflag FLAG_HIDE_ARTICUNO clearflag FLAG_HIDE_ARTICUNO
return return
SeafoamIslands_B4F_OnLoad:: @ 81630B1 SeafoamIslands_B4F_OnLoad:: @ 81630B1
setvar VAR_TEMP_2, 0 setvar NUM_BOULDERS_PRESENT, 0
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, SeafoamIslands_B4F_EventScript_AddBoulderPresent
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, SeafoamIslands_B4F_EventScript_AddBoulderPresent
compare VAR_TEMP_2, 2 compare NUM_BOULDERS_PRESENT, 2
goto_if_eq EventScript_1630D4 goto_if_eq SeafoamIslands_B4F_EventScript_SetCalmWaterNearStairs
end end
EventScript_1630D4:: @ 81630D4 SeafoamIslands_B4F_EventScript_SetCalmWaterNearStairs:: @ 81630D4
setmetatile 12, 14, 299, 0 setmetatile 12, 14, METATILE_General_CalmWater, 0
setmetatile 13, 14, 299, 0 setmetatile 13, 14, METATILE_General_CalmWater, 0
end end
SeafoamIslands_B4F_OnWarp:: @ 81630E7 SeafoamIslands_B4F_OnWarp:: @ 81630E7
map_script_2 VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1, EventScript_1630F1 map_script_2 VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1, SeafoamIslands_B4F_EventScript_WarpInOnCurrent
.2byte 0 .2byte 0
EventScript_1630F1:: @ 81630F1 SeafoamIslands_B4F_EventScript_WarpInOnCurrent:: @ 81630F1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
special Special_ForcePlayerToStartSurfing special Special_ForcePlayerToStartSurfing
end end
SeafoamIslands_B4F_OnFrame:: @ 81630F9 SeafoamIslands_B4F_OnFrame:: @ 81630F9
map_script_2 VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1, EventScript_16310B map_script_2 VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 1, SeafoamIslands_B4F_EventScript_EnterOnCurrent
map_script_2 VAR_TEMP_1, 1, EventScript_163121 map_script_2 VAR_TEMP_1, 1, SeafoamIslands_B4F_EventScript_EnterByFalling
.2byte 0 .2byte 0
EventScript_16310B:: @ 816310B @ The current the player is forced in on from B3F
SeafoamIslands_B4F_EventScript_EnterOnCurrent:: @ 816310B
lockall lockall
applymovement OBJ_EVENT_ID_PLAYER, Movement_16311D applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B4F_Movement_EnterOnCurrent
waitmovement 0 waitmovement 0
setvar VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 0 setvar VAR_MAP_SCENE_SEAFOAM_ISLANDS_B4F, 0
releaseall releaseall
end end
Movement_16311D:: @ 816311D SeafoamIslands_B4F_Movement_EnterOnCurrent:: @ 816311D
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
step_end step_end
EventScript_163121:: @ 8163121 @ The current the player lands on when entering the map by falling
SeafoamIslands_B4F_EventScript_EnterByFalling:: @ 8163121
lockall lockall
setvar VAR_TEMP_2, 0 setvar NUM_BOULDERS_PRESENT, 0
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_1, SeafoamIslands_B4F_EventScript_AddBoulderPresent
call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, EventScript_163169 call_if_unset FLAG_HIDE_SEAFOAM_B4F_BOULDER_2, SeafoamIslands_B4F_EventScript_AddBoulderPresent
compare VAR_TEMP_2, 2 compare NUM_BOULDERS_PRESENT, 2
goto_if_eq EventScript_163185 goto_if_eq SeafoamIslands_B4F_EventScript_CurrentBlocked
getplayerxy VAR_0x8008, VAR_0x8009 getplayerxy VAR_0x8008, VAR_0x8009
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if_lt EventScript_16316F call_if_lt SeafoamIslands_B4F_EventScript_RideCurrentFar
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if_ge EventScript_16317A call_if_ge SeafoamIslands_B4F_EventScript_RideCurrentClose
special sub_805D1A8 special sub_805D1A8
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
releaseall releaseall
end end
EventScript_163169:: @ 8163169 SeafoamIslands_B4F_EventScript_AddBoulderPresent:: @ 8163169
addvar VAR_TEMP_2, 1 addvar NUM_BOULDERS_PRESENT, 1
return return
EventScript_16316F:: @ 816316F SeafoamIslands_B4F_EventScript_RideCurrentFar:: @ 816316F
applymovement OBJ_EVENT_ID_PLAYER, Movement_16318C applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B4F_Movement_RideCurrentFar
waitmovement 0 waitmovement 0
return return
EventScript_16317A:: @ 816317A SeafoamIslands_B4F_EventScript_RideCurrentClose:: @ 816317A
applymovement OBJ_EVENT_ID_PLAYER, Movement_163195 applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B4F_Movement_RideCurrentClose
waitmovement 0 waitmovement 0
return return
EventScript_163185:: @ 8163185 SeafoamIslands_B4F_EventScript_CurrentBlocked:: @ 8163185
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
releaseall releaseall
end end
Movement_16318C:: @ 816318C SeafoamIslands_B4F_Movement_RideCurrentFar:: @ 816318C
walk_up walk_up
walk_up walk_up
walk_up walk_up
@@ -131,7 +135,7 @@ Movement_16318C:: @ 816318C
walk_up walk_up
step_end step_end
Movement_163195:: @ 8163195 SeafoamIslands_B4F_Movement_RideCurrentClose:: @ 8163195
walk_up walk_up
walk_up walk_up
walk_up walk_up
@@ -141,18 +145,19 @@ Movement_163195:: @ 8163195
walk_up walk_up
step_end step_end
SeafoamIslands_B4F_EventScript_16319D:: @ 816319D @ Triggers blocking re-entry to B3F
SeafoamIslands_B4F_EventScript_UpwardCurrent:: @ 816319D
lockall lockall
applymovement OBJ_EVENT_ID_PLAYER, Movement_1631AA applymovement OBJ_EVENT_ID_PLAYER, SeafoamIslands_B4F_Movement_WalkUp
waitmovement 0 waitmovement 0
releaseall releaseall
end end
Movement_1631AA:: @ 81631AA SeafoamIslands_B4F_Movement_WalkUp:: @ 81631AA
walk_up walk_up
step_end step_end
SeafoamIslands_B4F_EventScript_1631AC:: @ 81631AC SeafoamIslands_B4F_EventScript_Articuno:: @ 81631AC
goto_if_questlog EventScript_ReleaseEnd goto_if_questlog EventScript_ReleaseEnd
special sub_8112364 special sub_8112364
lock lock
@@ -160,7 +165,7 @@ SeafoamIslands_B4F_EventScript_1631AC:: @ 81631AC
setwildbattle SPECIES_ARTICUNO, 50, ITEM_NONE setwildbattle SPECIES_ARTICUNO, 50, ITEM_NONE
waitse waitse
playmoncry SPECIES_ARTICUNO, 2 playmoncry SPECIES_ARTICUNO, 2
message Text_1A6448 message Text_Gyaoo
waitmessage waitmessage
waitmoncry waitmoncry
delay 10 delay 10
@@ -172,33 +177,29 @@ SeafoamIslands_B4F_EventScript_1631AC:: @ 81631AC
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_16320F goto_if_eq SeafoamIslands_B4F_EventScript_DefeatedArticuno
compare VAR_RESULT, B_OUTCOME_RAN compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163218 goto_if_eq SeafoamIslands_B4F_EventScript_RanFromArticuno
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163218 goto_if_eq SeafoamIslands_B4F_EventScript_RanFromArticuno
setflag FLAG_FOUGHT_ARTICUNO setflag FLAG_FOUGHT_ARTICUNO
release release
end end
EventScript_16320F:: @ 816320F SeafoamIslands_B4F_EventScript_DefeatedArticuno:: @ 816320F
setflag FLAG_FOUGHT_ARTICUNO setflag FLAG_FOUGHT_ARTICUNO
goto EventScript_RemoveStaticMon goto EventScript_RemoveStaticMon
EventScript_163217:: @ 8163217
end end
EventScript_163218:: @ 8163218 SeafoamIslands_B4F_EventScript_RanFromArticuno:: @ 8163218
setvar VAR_0x8004, SPECIES_ARTICUNO setvar VAR_0x8004, SPECIES_ARTICUNO
goto EventScript_MonFlewAway goto EventScript_MonFlewAway
EventScript_163222:: @ 8163222
end end
SeafoamIslands_B4F_EventScript_163223:: @ 8163223 SeafoamIslands_B4F_EventScript_BoulderHintSign:: @ 8163223
msgbox gUnknown_8179B36, MSGBOX_SIGN msgbox SeafoamIslands_B4F_Text_BouldersMightChangeWaterFlow, MSGBOX_SIGN
end end
SeafoamIslands_B4F_EventScript_16322C:: @ 816322C SeafoamIslands_B4F_EventScript_FastCurrentSign:: @ 816322C
msgbox gUnknown_8179B65, MSGBOX_SIGN msgbox SeafoamIslands_B4F_Text_DangerFastCurrent, MSGBOX_SIGN
end end
+2 -2
View File
@@ -19,11 +19,11 @@ Text_RockSlideTaught:: @ 8179B0A
.string "It might be scary to use it in this\n" .string "It might be scary to use it in this\n"
.string "tunnel…$" .string "tunnel…$"
gUnknown_8179B36:: @ 8179B36 SeafoamIslands_B4F_Text_BouldersMightChangeWaterFlow:: @ 8179B36
.string "Hint: Boulders might change the\n" .string "Hint: Boulders might change the\n"
.string "flow of water.$" .string "flow of water.$"
gUnknown_8179B65:: @ 8179B65 SeafoamIslands_B4F_Text_DangerFastCurrent:: @ 8179B65
.string "DANGER\n" .string "DANGER\n"
.string "Fast current!$" .string "Fast current!$"
@@ -8,28 +8,28 @@ SixIsland_DottedHole_1F_OnTransition:: @ 8164188
SixIsland_DottedHole_B1F_EventScript_16418C:: @ 816418C SixIsland_DottedHole_B1F_EventScript_16418C:: @ 816418C
lockall lockall
braillemessage gUnknown_81A9288 braillemessage Braille_Text_Up
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
SixIsland_DottedHole_B4F_EventScript_164195:: @ 8164195 SixIsland_DottedHole_B4F_EventScript_164195:: @ 8164195
lockall lockall
braillemessage gUnknown_81A928B braillemessage Braille_Text_Down
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
SixIsland_DottedHole_B3F_EventScript_16419E:: @ 816419E SixIsland_DottedHole_B3F_EventScript_16419E:: @ 816419E
lockall lockall
braillemessage gUnknown_81A9290 braillemessage Braille_Text_Right
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
SixIsland_DottedHole_B2F_EventScript_1641A7:: @ 81641A7 SixIsland_DottedHole_B2F_EventScript_1641A7:: @ 81641A7
lockall lockall
braillemessage gUnknown_81A9296 braillemessage Braille_Text_Left
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
@@ -238,67 +238,22 @@ Movement_16441C:: @ 816441C
SixIsland_DottedHole_SapphireRoom_EventScript_16441F:: @ 816441F SixIsland_DottedHole_SapphireRoom_EventScript_16441F:: @ 816441F
lockall lockall
setvar VAR_0x8005, 130 setvar VAR_0x8005, 130
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_LetTheTwo
braillemessage gUnknown_81A9321 braillemessage_wait Braille_Text_Glittering
getbraillestringwidth gUnknown_81A9321 braillemessage_wait Braille_Text_Stones
call EventScript_BrailleCursorWaitButton braillemessage_wait Braille_Text_OneInRed
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_OneInBlue
braillemessage gUnknown_81A932D braillemessage_wait Braille_Text_ConnectThe
getbraillestringwidth gUnknown_81A932D braillemessage_wait Braille_Text_Past
call EventScript_BrailleCursorWaitButton braillemessage_wait Braille_Text_TwoFriends
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_Sharing
braillemessage gUnknown_81A9338 braillemessage_wait Braille_Text_PowerOpen
getbraillestringwidth gUnknown_81A9338 braillemessage_wait Braille_Text_AWindowTo
call EventScript_BrailleCursorWaitButton braillemessage_wait Braille_Text_ANewWorld
setvar VAR_0x8006, 0 braillemessage_wait Braille_Text_ThatGlows
braillemessage gUnknown_81A933F braillemessage_wait Braille_Text_TheNext
getbraillestringwidth gUnknown_81A933F braillemessage_wait Braille_Text_WorldWaits
call EventScript_BrailleCursorWaitButton braillemessage Braille_Text_ForYou
setvar VAR_0x8006, 0
braillemessage gUnknown_81A934A
getbraillestringwidth gUnknown_81A934A
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9356
getbraillestringwidth gUnknown_81A9356
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9362
getbraillestringwidth gUnknown_81A9362
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9368
getbraillestringwidth gUnknown_81A9368
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9374
getbraillestringwidth gUnknown_81A9374
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A937C
getbraillestringwidth gUnknown_81A937C
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9387
getbraillestringwidth gUnknown_81A9387
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A9393
getbraillestringwidth gUnknown_81A9393
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A939F
getbraillestringwidth gUnknown_81A939F
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A93AB
getbraillestringwidth gUnknown_81A93AB
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A93B4
getbraillestringwidth gUnknown_81A93B4
call EventScript_BrailleCursorWaitButton
braillemessage gUnknown_81A93C0
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
+1 -1
View File
@@ -28,7 +28,7 @@ SixIsland_RuinValley_EventScript_168B94:: @ 8168B94
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq EventScript_168BCB goto_if_eq EventScript_168BCB
msgbox gUnknown_818BE11 msgbox gUnknown_818BE11
braillemessage gUnknown_81A929B braillemessage Braille_Text_Cut
waitbuttonpress waitbuttonpress
releaseall releaseall
end end
+39 -39
View File
@@ -1,116 +1,116 @@
gUnknown_81A9288:: @ 81A9288 Braille_Text_Up:: @ 81A9288
.braille "UP$" .braille "UP$"
gUnknown_81A928B:: @ 81A928B Braille_Text_Down:: @ 81A928B
.braille "DOWN$" .braille "DOWN$"
gUnknown_81A9290:: @ 81A9290 Braille_Text_Right:: @ 81A9290
.braille "RIGHT$" .braille "RIGHT$"
gUnknown_81A9296:: @ 81A9296 Braille_Text_Left:: @ 81A9296
.braille "LEFT$" .braille "LEFT$"
gUnknown_81A929B:: @ 81A929B Braille_Text_Cut:: @ 81A929B
.braille "CUT$" .braille "CUT$"
gUnknown_81A929F:: @ 81A929F Braille_Text_ABC:: @ 81A929F
.braille "ABC$" .braille "ABC$"
gUnknown_81A92A3:: @ 81A92A3 Braille_Text_GHI:: @ 81A92A3
.braille "GHI$" .braille "GHI$"
gUnknown_81A92A7:: @ 81A92A7 Braille_Text_MNO:: @ 81A92A7
.braille "MNO$" .braille "MNO$"
gUnknown_81A92AB:: @ 81A92AB Braille_Text_TUV:: @ 81A92AB
.braille "TUV$" .braille "TUV$"
gUnknown_81A92AF:: @ 81A92AF Braille_Text_DEF:: @ 81A92AF
.braille "DEF$" .braille "DEF$"
gUnknown_81A92B3:: @ 81A92B3 Braille_Text_JKL:: @ 81A92B3
.braille "JKL$" .braille "JKL$"
gUnknown_81A92B7:: @ 81A92B7 Braille_Text_PQRS:: @ 81A92B7
.braille "PQRS$" .braille "PQRS$"
gUnknown_81A92BC:: @ 81A92BC Braille_Text_WXYZ:: @ 81A92BC
.braille "WXYZ$" .braille "WXYZ$"
gUnknown_81A92C1:: @ 81A92C1 Braille_Text_Period:: @ 81A92C1
.braille ".$" .braille ".$"
gUnknown_81A92C3:: @ 81A92C3 Braille_Text_Comma:: @ 81A92C3
.braille ",$" .braille ",$"
gUnknown_81A92C5:: @ 81A92C5 Braille_Text_Everything:: @ 81A92C5
.braille "EVERYTHING$" .braille "EVERYTHING$"
gUnknown_81A92D0:: @ 81A92D0 Braille_Text_HasMeaning1:: @ 81A92D0
.braille "HAS MEANING$" .braille "HAS MEANING$"
gUnknown_81A92DC:: @ 81A92DC Braille_Text_Existence:: @ 81A92DC
.braille "EXISTENCE$" .braille "EXISTENCE$"
gUnknown_81A92E6:: @ 81A92E6 Braille_Text_HasMeaning2:: @ 81A92E6
.braille "HAS MEANING$" .braille "HAS MEANING$"
gUnknown_81A92F2:: @ 81A92F2 Braille_Text_BeingAlive:: @ 81A92F2
.braille "BEING ALIVE$" .braille "BEING ALIVE$"
gUnknown_81A92FE:: @ 81A92FE Braille_Text_HasMeaning3:: @ 81A92FE
.braille "HAS MEANING$" .braille "HAS MEANING$"
gUnknown_81A930A:: @ 81A930A Braille_Text_HaveDreams:: @ 81A930A
.braille "HAVE DREAMS$" .braille "HAVE DREAMS$"
gUnknown_81A9316:: @ 81A9316 Braille_Text_UsePower:: @ 81A9316
.braille "USE POWER.$" .braille "USE POWER.$"
gUnknown_81A9321:: @ 81A9321 Braille_Text_LetTheTwo:: @ 81A9321
.braille "LET THE TWO$" .braille "LET THE TWO$"
gUnknown_81A932D:: @ 81A932D Braille_Text_Glittering:: @ 81A932D
.braille "GLITTERING$" .braille "GLITTERING$"
gUnknown_81A9338:: @ 81A9338 Braille_Text_Stones:: @ 81A9338
.braille "STONES$" .braille "STONES$"
gUnknown_81A933F:: @ 81A933F Braille_Text_OneInRed:: @ 81A933F
.braille "ONE IN RED$" .braille "ONE IN RED$"
gUnknown_81A934A:: @ 81A934A Braille_Text_OneInBlue:: @ 81A934A
.braille "ONE IN BLUE$" .braille "ONE IN BLUE$"
gUnknown_81A9356:: @ 81A9356 Braille_Text_ConnectThe:: @ 81A9356
.braille "CONNECT THE$" .braille "CONNECT THE$"
gUnknown_81A9362:: @ 81A9362 Braille_Text_Past:: @ 81A9362
.braille "PAST.$" .braille "PAST.$"
gUnknown_81A9368:: @ 81A9368 Braille_Text_TwoFriends:: @ 81A9368
.braille "TWO FRIENDS$" .braille "TWO FRIENDS$"
gUnknown_81A9374:: @ 81A9374 Braille_Text_Sharing:: @ 81A9374
.braille "SHARING$" .braille "SHARING$"
gUnknown_81A937C:: @ 81A937C Braille_Text_PowerOpen:: @ 81A937C
.braille "POWER OPEN$" .braille "POWER OPEN$"
gUnknown_81A9387:: @ 81A9387 Braille_Text_AWindowTo:: @ 81A9387
.braille "A WINDOW TO$" .braille "A WINDOW TO$"
gUnknown_81A9393:: @ 81A9393 Braille_Text_ANewWorld:: @ 81A9393
.braille "A NEW WORLD$" .braille "A NEW WORLD$"
gUnknown_81A939F:: @ 81A939F Braille_Text_ThatGlows:: @ 81A939F
.braille "THAT GLOWS.$" .braille "THAT GLOWS.$"
gUnknown_81A93AB:: @ 81A93AB Braille_Text_TheNext:: @ 81A93AB
.braille "THE NEXT$" .braille "THE NEXT$"
gUnknown_81A93B4:: @ 81A93B4 Braille_Text_WorldWaits:: @ 81A93B4
.braille "WORLD WAITS$" .braille "WORLD WAITS$"
gUnknown_81A93C0:: @ 81A93C0 Braille_Text_ForYou:: @ 81A93C0
.braille "FOR YOU.$" .braille "FOR YOU.$"
+2 -2
View File
@@ -260,8 +260,8 @@
#define LAYOUT_ROUTE5_POKEMON_DAY_CARE 275 #define LAYOUT_ROUTE5_POKEMON_DAY_CARE 275
#define LAYOUT_VIRIDIAN_CITY_HOUSE1 276 #define LAYOUT_VIRIDIAN_CITY_HOUSE1 276
#define LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE 277 #define LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE 277
#define LAYOUT_UNUSED_LAYOUT_833B6EC 278 #define LAYOUT_SEAFOAM_ISLANDS_B3F_CURRENT_STOPPED 278
#define LAYOUT_UNUSED_LAYOUT_833BE30 279 #define LAYOUT_SEAFOAM_ISLANDS_B4F_CURRENT_STOPPED 279
#define LAYOUT_MT_EMBER_EXTERIOR 280 #define LAYOUT_MT_EMBER_EXTERIOR 280
#define LAYOUT_MT_EMBER_SUMMIT 281 #define LAYOUT_MT_EMBER_SUMMIT 281
#define LAYOUT_MT_EMBER_SUMMIT_PATH_1F 282 #define LAYOUT_MT_EMBER_SUMMIT_PATH_1F 282
+6
View File
@@ -1,6 +1,9 @@
#ifndef GUARD_METATILE_LABELS_H #ifndef GUARD_METATILE_LABELS_H
#define GUARD_METATILE_LABELS_H #define GUARD_METATILE_LABELS_H
// General
#define METATILE_General_CalmWater 0x12B
// Pokemon Mansion // Pokemon Mansion
#define METATILE_PokemonMansion_Floor 0x284 #define METATILE_PokemonMansion_Floor 0x284
#define METATILE_PokemonMansion_Floor_ShadeFull 0x285 #define METATILE_PokemonMansion_Floor_ShadeFull 0x285
@@ -34,4 +37,7 @@
#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
// gTileset_82D504C. Below metatile probably needs generic name
#define METATILE_MtEmber_CaveEntrance 0x346
#endif // GUARD_METATILE_LABELS_H #endif // GUARD_METATILE_LABELS_H