Document Rustboro scripts

This commit is contained in:
GriffinR
2019-11-05 14:05:29 -05:00
committed by huderlem
parent 1d421f2f71
commit d9da932dad
31 changed files with 665 additions and 649 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ Route104_EventScript_1ECC9E:: @ 81ECC9E
Route104_EventScript_1ECCB3:: @ 81ECCB3 Route104_EventScript_1ECCB3:: @ 81ECCB3
lockall lockall
setflag FLAG_HIDE_RUSBORO_CITY_RIVAL setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
setvar VAR_RUSTBORO_CITY_STATE, 8 setvar VAR_RUSTBORO_CITY_STATE, 8
setvar VAR_ROUTE104_STATE, 2 setvar VAR_ROUTE104_STATE, 2
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
@@ -62,7 +62,7 @@ Route104_EventScript_1ECCB3:: @ 81ECCB3
waitmovement 0 waitmovement 0
delay 20 delay 20
setvar VAR_0x8008, 0 setvar VAR_0x8008, 0
call Route104_EventScript_1E0DD1 call RustboroCity_EventScript_PlayRivalMusic
playse SE_PIN playse SE_PIN
applymovement 34, Common_Movement_ExclamationMark applymovement 34, Common_Movement_ExclamationMark
waitmovement 0 waitmovement 0
@@ -10,7 +10,7 @@ Route104_MrBrineysHouse_OnTransition: @ 8229D34
end end
Route104_MrBrineysHouse_EventScript_HideRustboroRival:: @ 8229D4C Route104_MrBrineysHouse_EventScript_HideRustboroRival:: @ 8229D4C
setflag FLAG_HIDE_RUSBORO_CITY_RIVAL setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
return return
Route104_MrBrineysHouse_EventScript_SetBrineyPeekoPos:: @ 8229D50 Route104_MrBrineysHouse_EventScript_SetBrineyPeekoPos:: @ 8229D50
@@ -81,7 +81,7 @@ Route104_MrBrineysHouse_EventScript_SailToDewford:: @ 8229E27
setflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO setflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
setvar VAR_RUSTBORO_CITY_STATE, 8 setvar VAR_RUSTBORO_CITY_STATE, 8
setvar VAR_ROUTE104_STATE, 2 setvar VAR_ROUTE104_STATE, 2
setflag FLAG_HIDE_RUSBORO_CITY_RIVAL setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
setflag FLAG_HIDE_ROUTE_104_RIVAL setflag FLAG_HIDE_ROUTE_104_RIVAL
warp MAP_ROUTE104, 255, 13, 51 warp MAP_ROUTE104, 255, 13, 51
waitstate waitstate
+41 -41
View File
@@ -40,7 +40,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": "RustboroCity_EventScript_1E088A", "script": "RustboroCity_EventScript_Woman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -53,7 +53,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": "RustboroCity_EventScript_1E085F", "script": "RustboroCity_EventScript_FatMan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -66,7 +66,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": "RustboroCity_EventScript_1E08DA", "script": "RustboroCity_EventScript_NinjaBoy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -79,7 +79,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": "RustboroCity_EventScript_1E08D1", "script": "RustboroCity_EventScript_Twin",
"flag": "0" "flag": "0"
}, },
{ {
@@ -92,7 +92,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": "RustboroCity_EventScript_1E08B2", "script": "RustboroCity_EventScript_Boy2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -105,7 +105,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": "RustboroCity_EventScript_1E0893", "script": "RustboroCity_EventScript_Man1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -118,7 +118,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": "RustboroCity_EventScript_1E0922", "script": "RustboroCity_EventScript_LittleBoy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -131,7 +131,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": "RustboroCity_EventScript_1E0938", "script": "RustboroCity_EventScript_LittleGirl",
"flag": "0" "flag": "0"
}, },
{ {
@@ -144,7 +144,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": "RustboroCity_EventScript_1E0ADD", "script": "RustboroCity_EventScript_DevonEmployee1",
"flag": "FLAG_HIDE_RUSTBORO_CITY_DEVON_EMPLOYEE_1" "flag": "FLAG_HIDE_RUSTBORO_CITY_DEVON_EMPLOYEE_1"
}, },
{ {
@@ -170,7 +170,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": "RustboroCity_EventScript_1E087E", "script": "RustboroCity_EventScript_DevonEmployee2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -196,7 +196,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": "RustboroCity_EventScript_1E094E", "script": "RustboroCity_EventScript_Man2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -209,8 +209,8 @@
"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": "RustboroCity_EventScript_1E0DB8", "script": "RustboroCity_EventScript_Rival",
"flag": "FLAG_HIDE_RUSBORO_CITY_RIVAL" "flag": "FLAG_HIDE_RUSTBORO_CITY_RIVAL"
}, },
{ {
"graphics_id": "EVENT_OBJ_GFX_SCIENTIST_1", "graphics_id": "EVENT_OBJ_GFX_SCIENTIST_1",
@@ -235,7 +235,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": "RustboroCity_EventScript_1E1236", "script": "RustboroCity_EventScript_Boy1",
"flag": "0" "flag": "0"
} }
], ],
@@ -333,7 +333,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "1", "var_value": "1",
"script": "RustboroCity_EventScript_1E095A" "script": "RustboroCity_EventScript_StolenGoodsTrigger0"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -342,7 +342,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "1", "var_value": "1",
"script": "RustboroCity_EventScript_1E0971" "script": "RustboroCity_EventScript_StolenGoodsTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -351,7 +351,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "1", "var_value": "1",
"script": "RustboroCity_EventScript_1E0988" "script": "RustboroCity_EventScript_StolenGoodsTrigger2"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -360,7 +360,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "1", "var_value": "1",
"script": "RustboroCity_EventScript_1E099F" "script": "RustboroCity_EventScript_StolenGoodsTrigger3"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -369,7 +369,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "1", "var_value": "1",
"script": "RustboroCity_EventScript_1E09B6" "script": "RustboroCity_EventScript_StolenGoodsTrigger4"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -378,7 +378,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "2", "var_value": "2",
"script": "RustboroCity_EventScript_1E0AFE" "script": "RustboroCity_EventScript_HelpGetGoodsTrigger0"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -387,7 +387,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "2", "var_value": "2",
"script": "RustboroCity_EventScript_1E0B0A" "script": "RustboroCity_EventScript_HelpGetGoodsTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -396,7 +396,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "2", "var_value": "2",
"script": "RustboroCity_EventScript_1E0B16" "script": "RustboroCity_EventScript_HelpGetGoodsTrigger2"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -405,7 +405,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "2", "var_value": "2",
"script": "RustboroCity_EventScript_1E0B22" "script": "RustboroCity_EventScript_HelpGetGoodsTrigger3"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -414,7 +414,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "4", "var_value": "4",
"script": "RustboroCity_EventScript_1E0C2B" "script": "RustboroCity_EventScript_ReturnGoodsTrigger0"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -423,7 +423,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "4", "var_value": "4",
"script": "RustboroCity_EventScript_1E0C37" "script": "RustboroCity_EventScript_ReturnGoodsTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -432,7 +432,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "4", "var_value": "4",
"script": "RustboroCity_EventScript_1E0C43" "script": "RustboroCity_EventScript_ReturnGoodsTrigger2"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -441,7 +441,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "4", "var_value": "4",
"script": "RustboroCity_EventScript_1E0C4F" "script": "RustboroCity_EventScript_ReturnGoodsTrigger3"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -450,7 +450,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0DF3" "script": "RustboroCity_EventScript_RivalTrigger0"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -459,7 +459,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0E33" "script": "RustboroCity_EventScript_RivalTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -468,7 +468,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0E73" "script": "RustboroCity_EventScript_RivalTrigger2"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -477,7 +477,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0EB3" "script": "RustboroCity_EventScript_RivalTrigger3"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -486,7 +486,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0EF3" "script": "RustboroCity_EventScript_RivalTrigger4"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -495,7 +495,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0F33" "script": "RustboroCity_EventScript_RivalTrigger5"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -504,7 +504,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0F73" "script": "RustboroCity_EventScript_RivalTrigger6"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -513,7 +513,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_RUSTBORO_CITY_STATE", "var": "VAR_RUSTBORO_CITY_STATE",
"var_value": "7", "var_value": "7",
"script": "RustboroCity_EventScript_1E0FB3" "script": "RustboroCity_EventScript_RivalTrigger7"
} }
], ],
"bg_events": [ "bg_events": [
@@ -523,7 +523,7 @@
"y": 19, "y": 19,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E08F5" "script": "RustboroCity_EventScript_GymSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -531,7 +531,7 @@
"y": 35, "y": 35,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E0910" "script": "RustboroCity_EventScript_TrainersSchoolSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -555,7 +555,7 @@
"y": 49, "y": 49,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E0907" "script": "RustboroCity_EventScript_CitySign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -579,7 +579,7 @@
"y": 20, "y": 20,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E08EC" "script": "RustboroCity_EventScript_DevonCorpSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -587,7 +587,7 @@
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E08E3" "script": "RustboroCity_EventScript_TunnelSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -595,7 +595,7 @@
"y": 38, "y": 38,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_EventScript_1E0919" "script": "RustboroCity_EventScript_CuttersHouseSign"
} }
] ]
} }
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_CuttersHouse_EventScript_215BD4", "script": "RustboroCity_CuttersHouse_EventScript_Cutter",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_CuttersHouse_EventScript_215C0A", "script": "RustboroCity_CuttersHouse_EventScript_Lass",
"flag": "0" "flag": "0"
} }
], ],
+11 -11
View File
@@ -1,27 +1,27 @@
RustboroCity_CuttersHouse_MapScripts:: @ 8215BD3 RustboroCity_CuttersHouse_MapScripts:: @ 8215BD3
.byte 0 .byte 0
RustboroCity_CuttersHouse_EventScript_215BD4:: @ 8215BD4 RustboroCity_CuttersHouse_EventScript_Cutter:: @ 8215BD4
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_HM01, RustboroCity_CuttersHouse_EventScript_215C00 goto_if_set FLAG_RECEIVED_HM01, RustboroCity_CuttersHouse_EventScript_ExplainCut
msgbox RustboroCity_CuttersHouse_Text_215C13, MSGBOX_DEFAULT msgbox RustboroCity_CuttersHouse_Text_YouCanPutThisHMToGoodUse, MSGBOX_DEFAULT
giveitem_std ITEM_HM01 giveitem_std ITEM_HM01
setflag FLAG_RECEIVED_HM01 setflag FLAG_RECEIVED_HM01
msgbox RustboroCity_CuttersHouse_Text_215D33, MSGBOX_DEFAULT msgbox RustboroCity_CuttersHouse_Text_ExplainCut, MSGBOX_DEFAULT
release release
end end
RustboroCity_CuttersHouse_EventScript_215C00:: @ 8215C00 RustboroCity_CuttersHouse_EventScript_ExplainCut:: @ 8215C00
msgbox RustboroCity_CuttersHouse_Text_215D33, MSGBOX_DEFAULT msgbox RustboroCity_CuttersHouse_Text_ExplainCut, MSGBOX_DEFAULT
release release
end end
RustboroCity_CuttersHouse_EventScript_215C0A:: @ 8215C0A RustboroCity_CuttersHouse_EventScript_Lass:: @ 8215C0A
msgbox RustboroCity_CuttersHouse_Text_215E39, MSGBOX_NPC msgbox RustboroCity_CuttersHouse_Text_DadHelpedClearLandOfTrees, MSGBOX_NPC
end end
RustboroCity_CuttersHouse_Text_215C13: @ 8215C13 RustboroCity_CuttersHouse_Text_YouCanPutThisHMToGoodUse: @ 8215C13
.string "That determined expression…\n" .string "That determined expression…\n"
.string "That limber way you move…\l" .string "That limber way you move…\l"
.string "And your well-trained POKéMON…\p" .string "And your well-trained POKéMON…\p"
@@ -33,7 +33,7 @@ RustboroCity_CuttersHouse_Text_215C13: @ 8215C13
.string "No need to be modest or shy.\n" .string "No need to be modest or shy.\n"
.string "Go on, take it!$" .string "Go on, take it!$"
RustboroCity_CuttersHouse_Text_215D33: @ 8215D33 RustboroCity_CuttersHouse_Text_ExplainCut: @ 8215D33
.string "That HIDDEN MACHINE, or HM for\n" .string "That HIDDEN MACHINE, or HM for\n"
.string "short, is CUT.\p" .string "short, is CUT.\p"
.string "An HM move is one that can be used\n" .string "An HM move is one that can be used\n"
@@ -44,7 +44,7 @@ RustboroCity_CuttersHouse_Text_215D33: @ 8215D33
.string "And, unlike a TM, an HM can be used\n" .string "And, unlike a TM, an HM can be used\n"
.string "more than once.$" .string "more than once.$"
RustboroCity_CuttersHouse_Text_215E39: @ 8215E39 RustboroCity_CuttersHouse_Text_DadHelpedClearLandOfTrees: @ 8215E39
.string "When they were expanding the city of\n" .string "When they were expanding the city of\n"
.string "RUSTBORO, my dad helped out.\p" .string "RUSTBORO, my dad helped out.\p"
.string "He made his POKéMON use CUT to clear\n" .string "He made his POKéMON use CUT to clear\n"
+1 -1
View File
@@ -89,7 +89,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": "RustboroCity_DevonCorp_2F_EventScript_PokenavFeatureScientist", "script": "RustboroCity_DevonCorp_2F_EventScript_MatchCallScientist",
"flag": "0" "flag": "0"
} }
], ],
@@ -277,7 +277,7 @@ RustboroCity_DevonCorp_2F_EventScript_CancelFossilSelect:: @ 8211BCD
release release
end end
RustboroCity_DevonCorp_2F_EventScript_PokenavFeatureScientist:: @ 8211BCF RustboroCity_DevonCorp_2F_EventScript_MatchCallScientist:: @ 8211BCF
lock lock
faceplayer faceplayer
compare VAR_FOSSIL_RESURRECTION_STATE, 1 compare VAR_FOSSIL_RESURRECTION_STATE, 1
@@ -66,7 +66,7 @@ RustboroCity_DevonCorp_3F_EventScript_MeetPresident:: @ 821246E
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
clearflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO clearflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
setvar VAR_BRINEY_LOCATION, 1 setvar VAR_BRINEY_LOCATION, 1
clearflag FLAG_HIDE_RUSBORO_CITY_RIVAL clearflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
setvar VAR_DEVON_CORP_3F_STATE, 1 setvar VAR_DEVON_CORP_3F_STATE, 1
setvar VAR_RUSTBORO_CITY_STATE, 6 setvar VAR_RUSTBORO_CITY_STATE, 6
releaseall releaseall
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_Flat1_1F_EventScript_2150CE", "script": "RustboroCity_Flat1_1F_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_Flat1_1F_EventScript_2150D7", "script": "RustboroCity_Flat1_1F_EventScript_Woman",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,18 +1,18 @@
RustboroCity_Flat1_1F_MapScripts:: @ 82150CD RustboroCity_Flat1_1F_MapScripts:: @ 82150CD
.byte 0 .byte 0
RustboroCity_Flat1_1F_EventScript_2150CE:: @ 82150CE RustboroCity_Flat1_1F_EventScript_Man:: @ 82150CE
msgbox RustboroCity_Flat1_1F_Text_2150E0, MSGBOX_NPC msgbox RustboroCity_Flat1_1F_Text_EveryPokemonHasAbility, MSGBOX_NPC
end end
RustboroCity_Flat1_1F_EventScript_2150D7:: @ 82150D7 RustboroCity_Flat1_1F_EventScript_Woman:: @ 82150D7
msgbox RustboroCity_Flat1_1F_Text_215115, MSGBOX_NPC msgbox RustboroCity_Flat1_1F_Text_PokemonStrange, MSGBOX_NPC
end end
RustboroCity_Flat1_1F_Text_2150E0: @ 82150E0 RustboroCity_Flat1_1F_Text_EveryPokemonHasAbility: @ 82150E0
.string "Every POKéMON has a special ability\n" .string "Every POKéMON has a special ability\n"
.string "that it can use.$" .string "that it can use.$"
RustboroCity_Flat1_1F_Text_215115: @ 8215115 RustboroCity_Flat1_1F_Text_PokemonStrange: @ 8215115
.string "POKéMON are such strange creatures.$" .string "POKéMON are such strange creatures.$"
+7 -7
View File
@@ -24,7 +24,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": "RustboroCity_Flat1_2F_EventScript_21523D", "script": "RustboroCity_Flat1_2F_EventScript_WaldasMom",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,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": "RustboroCity_Flat1_2F_EventScript_215246", "script": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,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": "RustboroCity_Flat1_2F_EventScript_215246", "script": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
"flag": "0" "flag": "0"
}, },
{ {
@@ -76,7 +76,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": "RustboroCity_Flat1_2F_EventScript_215246", "script": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
"flag": "0" "flag": "0"
}, },
{ {
@@ -89,7 +89,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": "RustboroCity_Flat1_2F_EventScript_21513A", "script": "RustboroCity_Flat1_2F_EventScript_WaldasDad",
"flag": "0" "flag": "0"
}, },
{ {
@@ -102,7 +102,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": "RustboroCity_Flat1_2F_EventScript_215246", "script": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
"flag": "0" "flag": "0"
}, },
{ {
@@ -115,7 +115,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": "RustboroCity_Flat1_2F_EventScript_215246", "script": "RustboroCity_Flat1_2F_EventScript_PokeDoll",
"flag": "0" "flag": "0"
} }
], ],
+58 -58
View File
@@ -1,90 +1,90 @@
RustboroCity_Flat1_2F_MapScripts:: @ 8215139 RustboroCity_Flat1_2F_MapScripts:: @ 8215139
.byte 0 .byte 0
RustboroCity_Flat1_2F_EventScript_21513A:: @ 821513A RustboroCity_Flat1_2F_EventScript_WaldasDad:: @ 821513A
lock lock
faceplayer faceplayer
specialvar VAR_RESULT, TryBufferWaldaPhrase specialvar VAR_RESULT, TryBufferWaldaPhrase
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq RustboroCity_Flat1_2F_EventScript_21518D goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151AD goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase
RustboroCity_Flat1_2F_EventScript_215157:: @ 8215157 RustboroCity_Flat1_2F_EventScript_GivePhrase:: @ 8215157
special DoWaldaNamingScreen special DoWaldaNamingScreen
waitstate waitstate
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151D7 goto_if_eq RustboroCity_Flat1_2F_EventScript_CancelGivePhrase
compare VAR_0x8004, 2 compare VAR_0x8004, 2
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151E1 goto_if_eq RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase
specialvar VAR_RESULT, TryGetWallpaperWithWaldaPhrase specialvar VAR_RESULT, TryGetWallpaperWithWaldaPhrase
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151F8 goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq RustboroCity_Flat1_2F_EventScript_215221 goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase
end end
RustboroCity_Flat1_2F_EventScript_21518D:: @ 821518D RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase:: @ 821518D
msgbox RustboroCity_Flat1_2F_Text_2152FA, MSGBOX_YESNO msgbox RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151CD goto_if_eq RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
msgbox RustboroCity_Flat1_2F_Text_2154AD, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_215157 goto RustboroCity_Flat1_2F_EventScript_GivePhrase
RustboroCity_Flat1_2F_EventScript_2151AD:: @ 82151AD RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase:: @ 82151AD
msgbox RustboroCity_Flat1_2F_Text_215448, MSGBOX_YESNO msgbox RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151CD goto_if_eq RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
msgbox RustboroCity_Flat1_2F_Text_2154AD, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_215157 goto RustboroCity_Flat1_2F_EventScript_GivePhrase
RustboroCity_Flat1_2F_EventScript_2151CD:: @ 82151CD RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase:: @ 82151CD
msgbox RustboroCity_Flat1_2F_Text_2154E7, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_OhIsThatRight, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat1_2F_EventScript_2151D7:: @ 82151D7 RustboroCity_Flat1_2F_EventScript_CancelGivePhrase:: @ 82151D7
msgbox RustboroCity_Flat1_2F_Text_2156E3, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_OhYouDontKnowAny, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat1_2F_EventScript_2151E1:: @ 82151E1 RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase:: @ 82151E1
msgbox RustboroCity_Flat1_2F_Text_21561E, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238 call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_215699, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat1_2F_EventScript_2151F8:: @ 82151F8 RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase:: @ 82151F8
msgbox RustboroCity_Flat1_2F_Text_215535, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry2, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238 call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_215565, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_OhShesLaughing, MSGBOX_DEFAULT
applymovement 6, Common_Movement_FacePlayer applymovement 6, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox RustboroCity_Flat1_2F_Text_215792, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat1_2F_EventScript_215221:: @ 8215221 RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase:: @ 8215221
msgbox RustboroCity_Flat1_2F_Text_2155A4, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238 call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_2155D4, MSGBOX_DEFAULT msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat1_2F_EventScript_215238:: @ 8215238 RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda:: @ 8215238
turnobject 6, DIR_EAST turnobject 6, DIR_EAST
return return
RustboroCity_Flat1_2F_EventScript_21523D:: @ 821523D RustboroCity_Flat1_2F_EventScript_WaldasMom:: @ 821523D
msgbox RustboroCity_Flat1_2F_Text_21524F, MSGBOX_NPC msgbox RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard, MSGBOX_NPC
end end
RustboroCity_Flat1_2F_EventScript_215246:: @ 8215246 RustboroCity_Flat1_2F_EventScript_PokeDoll:: @ 8215246
msgbox RustboroCity_Flat1_2F_Text_215923, MSGBOX_SIGN msgbox RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll, MSGBOX_SIGN
end end
RustboroCity_Flat1_2F_Text_21524F: @ 821524F RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard: @ 821524F
.string "Oh, it's so hard every day…\p" .string "Oh, it's so hard every day…\p"
.string "What's hard?\n" .string "What's hard?\n"
.string "You need to ask?\p" .string "You need to ask?\p"
@@ -93,7 +93,7 @@ RustboroCity_Flat1_2F_Text_21524F: @ 821524F
.string "It really isn't easy coming up with\n" .string "It really isn't easy coming up with\n"
.string "meals every day.$" .string "meals every day.$"
RustboroCity_Flat1_2F_Text_2152FA: @ 82152FA RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase: @ 82152FA
.string "Oh, hello!\n" .string "Oh, hello!\n"
.string "Welcome to the PEPPER household.\p" .string "Welcome to the PEPPER household.\p"
.string "I have a question for you.\n" .string "I have a question for you.\n"
@@ -107,62 +107,62 @@ RustboroCity_Flat1_2F_Text_2152FA: @ 82152FA
.string "Do you know of a funny word or\n" .string "Do you know of a funny word or\n"
.string "phrase you can tell me?$" .string "phrase you can tell me?$"
RustboroCity_Flat1_2F_Text_215448: @ 8215448 RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase: @ 8215448
.string "I've been saying “{STR_VAR_1}”\n" .string "I've been saying “{STR_VAR_1}”\n"
.string "to amuse her lately.\p" .string "to amuse her lately.\p"
.string "Do you know of a better word or\n" .string "Do you know of a better word or\n"
.string "a phrase that might work?$" .string "a phrase that might work?$"
RustboroCity_Flat1_2F_Text_2154AD: @ 82154AD RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion: @ 82154AD
.string "Oh, that's wonderful.\n" .string "Oh, that's wonderful.\n"
.string "So, let's hear it, your suggestion.$" .string "So, let's hear it, your suggestion.$"
RustboroCity_Flat1_2F_Text_2154E7: @ 82154E7 RustboroCity_Flat1_2F_Text_OhIsThatRight: @ 82154E7
.string "Oh, is that right?\p" .string "Oh, is that right?\p"
.string "Well, if you come up with a good\n" .string "Well, if you come up with a good\n"
.string "suggestion, I'm all ears.$" .string "suggestion, I'm all ears.$"
RustboroCity_Flat1_2F_Text_215535: @ 8215535 RustboroCity_Flat1_2F_Text_LetsGiveItATry2: @ 8215535
.string "Ah, I see.\n" .string "Ah, I see.\n"
.string "Well, let's give it a try, shall we?$" .string "Well, let's give it a try, shall we?$"
RustboroCity_Flat1_2F_Text_215565: @ 8215565 RustboroCity_Flat1_2F_Text_OhShesLaughing: @ 8215565
.string "{STR_VAR_1}.\n" .string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p" .string "{STR_VAR_1}.\p"
.string "Oh, yes! She's laughing!\n" .string "Oh, yes! She's laughing!\n"
.string "Oh, I am as delighted as she!$" .string "Oh, I am as delighted as she!$"
RustboroCity_Flat1_2F_Text_2155A4: @ 82155A4 RustboroCity_Flat1_2F_Text_LetsGiveItATry: @ 82155A4
.string "Ah, I see.\n" .string "Ah, I see.\n"
.string "Well, let's give it a try, shall we?$" .string "Well, let's give it a try, shall we?$"
RustboroCity_Flat1_2F_Text_2155D4: @ 82155D4 RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll: @ 82155D4
.string "{STR_VAR_1}.\n" .string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p" .string "{STR_VAR_1}.\p"
.string "Hmmm… She's not smiling at all.\n" .string "Hmmm… She's not smiling at all.\n"
.string "Maybe WALDA is one serious child…$" .string "Maybe WALDA is one serious child…$"
RustboroCity_Flat1_2F_Text_21561E: @ 821561E RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase: @ 821561E
.string "Oh, so you don't know any good words.\n" .string "Oh, so you don't know any good words.\n"
.string "I'd better think for myself, then.\p" .string "I'd better think for myself, then.\p"
.string "Hmm…\n" .string "Hmm…\n"
.string "How about “{STR_VAR_1}”?\l" .string "How about “{STR_VAR_1}”?\l"
.string "Let's see if that will work.$" .string "Let's see if that will work.$"
RustboroCity_Flat1_2F_Text_215699: @ 8215699 RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2: @ 8215699
.string "{STR_VAR_1}.\n" .string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p" .string "{STR_VAR_1}.\p"
.string "Hmmm… She's not smiling at all.\n" .string "Hmmm… She's not smiling at all.\n"
.string "Maybe WALDA is one serious child…$" .string "Maybe WALDA is one serious child…$"
RustboroCity_Flat1_2F_Text_2156E3: @ 82156E3 RustboroCity_Flat1_2F_Text_OhYouDontKnowAny: @ 82156E3
.string "Oh, so you don't know any good words.\n" .string "Oh, so you don't know any good words.\n"
.string "I guess I'll try to amuse her with\l" .string "I guess I'll try to amuse her with\l"
.string "the saying I used before.\p" .string "the saying I used before.\p"
.string "Anyways, if you have a good suggestion,\n" .string "Anyways, if you have a good suggestion,\n"
.string "don't hesitate in telling me, okay?$" .string "don't hesitate in telling me, okay?$"
RustboroCity_Flat1_2F_Text_215792: @ 8215792 RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper: @ 8215792
.string "Thank you!\p" .string "Thank you!\p"
.string "Thanks to you, my darling WALDA\n" .string "Thanks to you, my darling WALDA\n"
.string "laughed for me!\p" .string "laughed for me!\p"
@@ -179,6 +179,6 @@ RustboroCity_Flat1_2F_Text_215792: @ 8215792
.string "That will give you access to the new\n" .string "That will give you access to the new\n"
.string "wallpaper patterns.$" .string "wallpaper patterns.$"
RustboroCity_Flat1_2F_Text_215923: @ 8215923 RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll: @ 8215923
.string "It's a POKéMON plush DOLL!$" .string "It's a POKéMON plush DOLL!$"
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_Flat2_1F_EventScript_215F80", "script": "RustboroCity_Flat2_1F_EventScript_Skitty",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_Flat2_1F_EventScript_215F77", "script": "RustboroCity_Flat2_1F_EventScript_OldWoman",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,24 +1,24 @@
RustboroCity_Flat2_1F_MapScripts:: @ 8215F76 RustboroCity_Flat2_1F_MapScripts:: @ 8215F76
.byte 0 .byte 0
RustboroCity_Flat2_1F_EventScript_215F77:: @ 8215F77 RustboroCity_Flat2_1F_EventScript_OldWoman:: @ 8215F77
msgbox RustboroCity_Flat2_1F_Text_215F93, MSGBOX_NPC msgbox RustboroCity_Flat2_1F_Text_DevonWorkersLiveHere, MSGBOX_NPC
end end
RustboroCity_Flat2_1F_EventScript_215F80:: @ 8215F80 RustboroCity_Flat2_1F_EventScript_Skitty:: @ 8215F80
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_SKITTY, 0 playmoncry SPECIES_SKITTY, 0
msgbox RustboroCity_Flat2_1F_Text_215FC6, MSGBOX_DEFAULT msgbox RustboroCity_Flat2_1F_Text_Skitty, MSGBOX_DEFAULT
waitmoncry waitmoncry
release release
end end
RustboroCity_Flat2_1F_Text_215F93: @ 8215F93 RustboroCity_Flat2_1F_Text_DevonWorkersLiveHere: @ 8215F93
.string "DEVON CORPORATION's workers live in\n" .string "DEVON CORPORATION's workers live in\n"
.string "this building.$" .string "this building.$"
RustboroCity_Flat2_1F_Text_215FC6: @ 8215FC6 RustboroCity_Flat2_1F_Text_Skitty: @ 8215FC6
.string "SKITTY: Gyaaaah!$" .string "SKITTY: Gyaaaah!$"
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_Flat2_2F_EventScript_215FD8", "script": "RustboroCity_Flat2_2F_EventScript_OldMan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_Flat2_2F_EventScript_215FE1", "script": "RustboroCity_Flat2_2F_EventScript_NinjaBoy",
"flag": "0" "flag": "0"
} }
], ],
+10 -10
View File
@@ -1,15 +1,15 @@
RustboroCity_Flat2_2F_MapScripts:: @ 8215FD7 RustboroCity_Flat2_2F_MapScripts:: @ 8215FD7
.byte 0 .byte 0
RustboroCity_Flat2_2F_EventScript_215FD8:: @ 8215FD8 RustboroCity_Flat2_2F_EventScript_OldMan:: @ 8215FD8
msgbox RustboroCity_Flat2_2F_Text_21601A, MSGBOX_NPC msgbox RustboroCity_Flat2_2F_Text_DevonWasTinyInOldDays, MSGBOX_NPC
end end
RustboroCity_Flat2_2F_EventScript_215FE1:: @ 8215FE1 RustboroCity_Flat2_2F_EventScript_NinjaBoy:: @ 8215FE1
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_216010 goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_GavePremierBall
msgbox RustboroCity_Flat2_2F_Text_21605A, MSGBOX_DEFAULT msgbox RustboroCity_Flat2_2F_Text_MyDaddyMadeThisYouCanHaveIt, MSGBOX_DEFAULT
giveitem_std ITEM_PREMIER_BALL giveitem_std ITEM_PREMIER_BALL
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
@@ -17,21 +17,21 @@ RustboroCity_Flat2_2F_EventScript_215FE1:: @ 8215FE1
release release
end end
RustboroCity_Flat2_2F_EventScript_216010:: @ 8216010 RustboroCity_Flat2_2F_EventScript_GavePremierBall:: @ 8216010
msgbox RustboroCity_Flat2_2F_Text_2160BD, MSGBOX_DEFAULT msgbox RustboroCity_Flat2_2F_Text_GoingToWorkAtDevonToo, MSGBOX_DEFAULT
release release
end end
RustboroCity_Flat2_2F_Text_21601A: @ 821601A RustboroCity_Flat2_2F_Text_DevonWasTinyInOldDays: @ 821601A
.string "Way back in the old days, DEVON was just\n" .string "Way back in the old days, DEVON was just\n"
.string "a teeny, tiny company.$" .string "a teeny, tiny company.$"
RustboroCity_Flat2_2F_Text_21605A: @ 821605A RustboroCity_Flat2_2F_Text_MyDaddyMadeThisYouCanHaveIt: @ 821605A
.string "My daddy's working at the CORPORATION.\p" .string "My daddy's working at the CORPORATION.\p"
.string "My daddy made this!\n" .string "My daddy made this!\n"
.string "But I can't use it, so you can have it.$" .string "But I can't use it, so you can have it.$"
RustboroCity_Flat2_2F_Text_2160BD: @ 82160BD RustboroCity_Flat2_2F_Text_GoingToWorkAtDevonToo: @ 82160BD
.string "My daddy's working at the CORPORATION.\p" .string "My daddy's working at the CORPORATION.\p"
.string "When I grow up, I'm going to work for\n" .string "When I grow up, I'm going to work for\n"
.string "DEVON, too.$" .string "DEVON, too.$"
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_Flat2_3F_EventScript_216117", "script": "RustboroCity_Flat2_3F_EventScript_DevonEmployee",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_Flat2_3F_EventScript_216120", "script": "RustboroCity_Flat2_3F_EventScript_Woman",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,19 +1,19 @@
RustboroCity_Flat2_3F_MapScripts:: @ 8216116 RustboroCity_Flat2_3F_MapScripts:: @ 8216116
.byte 0 .byte 0
RustboroCity_Flat2_3F_EventScript_216117:: @ 8216117 RustboroCity_Flat2_3F_EventScript_DevonEmployee:: @ 8216117
msgbox RustboroCity_Flat2_3F_Text_216129, MSGBOX_NPC msgbox RustboroCity_Flat2_3F_Text_PresidentCollectsRareStones, MSGBOX_NPC
end end
RustboroCity_Flat2_3F_EventScript_216120:: @ 8216120 RustboroCity_Flat2_3F_EventScript_Woman:: @ 8216120
msgbox RustboroCity_Flat2_3F_Text_216159, MSGBOX_NPC msgbox RustboroCity_Flat2_3F_Text_PresidentsSonAlsoCollectsRareStones, MSGBOX_NPC
end end
RustboroCity_Flat2_3F_Text_216129: @ 8216129 RustboroCity_Flat2_3F_Text_PresidentCollectsRareStones: @ 8216129
.string "DEVON's PRESIDENT likes to collect\n" .string "DEVON's PRESIDENT likes to collect\n"
.string "rare stones.$" .string "rare stones.$"
RustboroCity_Flat2_3F_Text_216159: @ 8216159 RustboroCity_Flat2_3F_Text_PresidentsSonAlsoCollectsRareStones: @ 8216159
.string "I think the PRESIDENT's son also\n" .string "I think the PRESIDENT's son also\n"
.string "collects rare stones.$" .string "collects rare stones.$"
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_House1_EventScript_21593F", "script": "RustboroCity_House1_EventScript_Trader",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_House1_EventScript_2159DF", "script": "RustboroCity_House1_EventScript_Hiker",
"flag": "0" "flag": "0"
} }
], ],
+21 -21
View File
@@ -1,58 +1,58 @@
RustboroCity_House1_MapScripts:: @ 821593E RustboroCity_House1_MapScripts:: @ 821593E
.byte 0 .byte 0
RustboroCity_House1_EventScript_21593F:: @ 821593F RustboroCity_House1_EventScript_Trader:: @ 821593F
lock lock
faceplayer faceplayer
goto_if_set FLAG_RUSTBORO_NPC_TRADE_COMPLETED, RustboroCity_House1_EventScript_2159D5 goto_if_set FLAG_RUSTBORO_NPC_TRADE_COMPLETED, RustboroCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_SEEDOT setvar VAR_0x8008, INGAME_TRADE_SEEDOT
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT copyvar VAR_0x8009, VAR_RESULT
msgbox RustboroCity_House1_Text_2159E8, MSGBOX_YESNO msgbox RustboroCity_House1_Text_IllTradeIfYouWant, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq RustboroCity_House1_EventScript_2159BD goto_if_eq RustboroCity_House1_EventScript_DeclineTrade
special ChoosePartyMon special ChoosePartyMon
waitstate waitstate
copyvar VAR_0x800A, VAR_0x8004 copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_if_eq RustboroCity_House1_EventScript_2159BD goto_if_eq RustboroCity_House1_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009 compare VAR_RESULT, VAR_0x8009
goto_if_ne RustboroCity_House1_EventScript_2159C7 goto_if_ne RustboroCity_House1_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon special CreateInGameTradePokemon
special DoInGameTradeScene special DoInGameTradeScene
waitstate waitstate
msgbox RustboroCity_House1_Text_215A77, MSGBOX_DEFAULT msgbox RustboroCity_House1_Text_PleaseBeGoodToMyPokemon, MSGBOX_DEFAULT
setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED
release release
end end
RustboroCity_House1_EventScript_2159BD:: @ 82159BD RustboroCity_House1_EventScript_DeclineTrade:: @ 82159BD
msgbox RustboroCity_House1_Text_215ACE, MSGBOX_DEFAULT msgbox RustboroCity_House1_Text_YouDontWantToThatsOkay, MSGBOX_DEFAULT
release release
end end
RustboroCity_House1_EventScript_2159C7:: @ 82159C7 RustboroCity_House1_EventScript_NotRequestedMon:: @ 82159C7
bufferspeciesname 0, VAR_0x8009 bufferspeciesname 0, VAR_0x8009
msgbox RustboroCity_House1_Text_215A9D, MSGBOX_DEFAULT msgbox RustboroCity_House1_Text_DoesntLookLikeMonToMe, MSGBOX_DEFAULT
release release
end end
RustboroCity_House1_EventScript_2159D5:: @ 82159D5 RustboroCity_House1_EventScript_TradeCompleted:: @ 82159D5
msgbox RustboroCity_House1_Text_215B17, MSGBOX_DEFAULT msgbox RustboroCity_House1_Text_AnyPokemonCanBeCute, MSGBOX_DEFAULT
release release
end end
RustboroCity_House1_EventScript_2159DF:: @ 82159DF RustboroCity_House1_EventScript_Hiker:: @ 82159DF
msgbox RustboroCity_House1_Text_215B57, MSGBOX_NPC msgbox RustboroCity_House1_Text_AllSortsOfPlaces, MSGBOX_NPC
end end
RustboroCity_House1_Text_2159E8: @ 82159E8 RustboroCity_House1_Text_IllTradeIfYouWant: @ 82159E8
.string "Huh? My POKéMON is cute?\n" .string "Huh? My POKéMON is cute?\n"
.string "Sure, I knew that.\p" .string "Sure, I knew that.\p"
.string "But if you really want, I'm willing\n" .string "But if you really want, I'm willing\n"
@@ -60,23 +60,23 @@ RustboroCity_House1_Text_2159E8: @ 82159E8
.string "I'll trade you my {STR_VAR_2} for\n" .string "I'll trade you my {STR_VAR_2} for\n"
.string "a {STR_VAR_1} if you want.$" .string "a {STR_VAR_1} if you want.$"
RustboroCity_House1_Text_215A77: @ 8215A77 RustboroCity_House1_Text_PleaseBeGoodToMyPokemon: @ 8215A77
.string "Eheheh…\n" .string "Eheheh…\n"
.string "Please be good to my POKéMON.$" .string "Please be good to my POKéMON.$"
RustboroCity_House1_Text_215A9D: @ 8215A9D RustboroCity_House1_Text_DoesntLookLikeMonToMe: @ 8215A9D
.string "Huh? That doesn't look anything like\n" .string "Huh? That doesn't look anything like\n"
.string "a {STR_VAR_1} to me.$" .string "a {STR_VAR_1} to me.$"
RustboroCity_House1_Text_215ACE: @ 8215ACE RustboroCity_House1_Text_YouDontWantToThatsOkay: @ 8215ACE
.string "Oh, if you don't want to, that's okay.\n" .string "Oh, if you don't want to, that's okay.\n"
.string "But my POKéMON is cute, you know…$" .string "But my POKéMON is cute, you know…$"
RustboroCity_House1_Text_215B17: @ 8215B17 RustboroCity_House1_Text_AnyPokemonCanBeCute: @ 8215B17
.string "Any POKéMON can be cute if you raise\n" .string "Any POKéMON can be cute if you raise\n"
.string "it with care and kindness.$" .string "it with care and kindness.$"
RustboroCity_House1_Text_215B57: @ 8215B57 RustboroCity_House1_Text_AllSortsOfPlaces: @ 8215B57
.string "In all sorts of places, there are all\n" .string "In all sorts of places, there are all\n"
.string "sorts of POKéMON and people.\p" .string "sorts of POKéMON and people.\p"
.string "I find that fascinating, so I go to all\n" .string "I find that fascinating, so I go to all\n"
+2 -2
View File
@@ -24,7 +24,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": "RustboroCity_House2_EventScript_215EB4", "script": "RustboroCity_House2_EventScript_PokefanF",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_House2_EventScript_215EBD", "script": "RustboroCity_House2_EventScript_LittleGirl",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,20 +1,20 @@
RustboroCity_House2_MapScripts:: @ 8215EB3 RustboroCity_House2_MapScripts:: @ 8215EB3
.byte 0 .byte 0
RustboroCity_House2_EventScript_215EB4:: @ 8215EB4 RustboroCity_House2_EventScript_PokefanF:: @ 8215EB4
msgbox RustboroCity_House2_Text_215EC6, MSGBOX_NPC msgbox RustboroCity_House2_Text_TrainerSchoolExcellent, MSGBOX_NPC
end end
RustboroCity_House2_EventScript_215EBD:: @ 8215EBD RustboroCity_House2_EventScript_LittleGirl:: @ 8215EBD
msgbox RustboroCity_House2_Text_215F21, MSGBOX_NPC msgbox RustboroCity_House2_Text_RoxanneKnowsALot, MSGBOX_NPC
end end
RustboroCity_House2_Text_215EC6: @ 8215EC6 RustboroCity_House2_Text_TrainerSchoolExcellent: @ 8215EC6
.string "The TRAINER'S SCHOOL is excellent.\p" .string "The TRAINER'S SCHOOL is excellent.\p"
.string "If you study there, you could even\n" .string "If you study there, you could even\n"
.string "become a GYM LEADER.$" .string "become a GYM LEADER.$"
RustboroCity_House2_Text_215F21: @ 8215F21 RustboroCity_House2_Text_RoxanneKnowsALot: @ 8215F21
.string "ROXANNE, the GYM LEADER, really knows\n" .string "ROXANNE, the GYM LEADER, really knows\n"
.string "a lot about POKéMON.\p" .string "a lot about POKéMON.\p"
.string "She's really strong, too!$" .string "She's really strong, too!$"
+3 -3
View File
@@ -24,7 +24,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": "RustboroCity_House3_EventScript_216191", "script": "RustboroCity_House3_EventScript_OldMan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_House3_EventScript_21619A", "script": "RustboroCity_House3_EventScript_OldWoman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,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": "RustboroCity_House3_EventScript_2161A3", "script": "RustboroCity_House3_EventScript_Pekachu",
"flag": "0" "flag": "0"
} }
], ],
+10 -9
View File
@@ -1,36 +1,37 @@
RustboroCity_House3_MapScripts:: @ 8216190 RustboroCity_House3_MapScripts:: @ 8216190
.byte 0 .byte 0
RustboroCity_House3_EventScript_216191:: @ 8216191 RustboroCity_House3_EventScript_OldMan:: @ 8216191
msgbox RustboroCity_House3_Text_2161B6, MSGBOX_NPC msgbox RustboroCity_House3_Text_IGivePerfectlySuitedNicknames, MSGBOX_NPC
end end
RustboroCity_House3_EventScript_21619A:: @ 821619A RustboroCity_House3_EventScript_OldWoman:: @ 821619A
msgbox RustboroCity_House3_Text_21622A, MSGBOX_NPC msgbox RustboroCity_House3_Text_NamingPikachuPekachu, MSGBOX_NPC
end end
RustboroCity_House3_EventScript_2161A3:: @ 82161A3 @ Misspelling on purpose, see nickname
RustboroCity_House3_EventScript_Pekachu:: @ 82161A3
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_PIKACHU, 0 playmoncry SPECIES_PIKACHU, 0
msgbox RustboroCity_House3_Text_2162AB, MSGBOX_DEFAULT msgbox RustboroCity_House3_Text_Pekachu, MSGBOX_DEFAULT
waitmoncry waitmoncry
release release
end end
RustboroCity_House3_Text_2161B6: @ 82161B6 RustboroCity_House3_Text_IGivePerfectlySuitedNicknames: @ 82161B6
.string "For my own POKéMON, I give them\n" .string "For my own POKéMON, I give them\n"
.string "perfectly suited nicknames!\p" .string "perfectly suited nicknames!\p"
.string "It's my expression of, uh…\n" .string "It's my expression of, uh…\n"
.string "originality, yes, that's it!$" .string "originality, yes, that's it!$"
RustboroCity_House3_Text_21622A: @ 821622A RustboroCity_House3_Text_NamingPikachuPekachu: @ 821622A
.string "But giving the name PEKACHU to\n" .string "But giving the name PEKACHU to\n"
.string "a PIKACHU? It seems pointless.\p" .string "a PIKACHU? It seems pointless.\p"
.string "I suppose it is good to use a name\n" .string "I suppose it is good to use a name\n"
.string "that's easy to understand, but…$" .string "that's easy to understand, but…$"
RustboroCity_House3_Text_2162AB: @ 82162AB RustboroCity_House3_Text_Pekachu: @ 82162AB
.string "PEKACHU: Peka!$" .string "PEKACHU: Peka!$"
+12 -12
View File
@@ -24,7 +24,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": "RustboroCity_PokemonSchool_EventScript_213F5F", "script": "RustboroCity_PokemonSchool_EventScript_GameboyKid1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "RustboroCity_PokemonSchool_EventScript_213F68", "script": "RustboroCity_PokemonSchool_EventScript_GameboyKid2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,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": "RustboroCity_PokemonSchool_EventScript_213F71", "script": "RustboroCity_PokemonSchool_EventScript_RichBoy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,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": "RustboroCity_PokemonSchool_EventScript_213F7A", "script": "RustboroCity_PokemonSchool_EventScript_Lass",
"flag": "0" "flag": "0"
}, },
{ {
@@ -76,7 +76,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": "RustboroCity_PokemonSchool_EventScript_213F83", "script": "RustboroCity_PokemonSchool_EventScript_SchoolKidM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -89,7 +89,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": "RustboroCity_PokemonSchool_EventScript_213F95", "script": "RustboroCity_PokemonSchool_EventScript_Teacher",
"flag": "0" "flag": "0"
}, },
{ {
@@ -102,7 +102,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": "RustboroCity_PokemonSchool_EventScript_214040", "script": "RustboroCity_PokemonSchool_EventScript_Scott",
"flag": "FLAG_HIDE_RUSTBORO_CITY_POKEMON_SCHOOL_SCOTT" "flag": "FLAG_HIDE_RUSTBORO_CITY_POKEMON_SCHOOL_SCOTT"
} }
], ],
@@ -130,7 +130,7 @@
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_PokemonSchool_EventScript_213EA9" "script": "RustboroCity_PokemonSchool_EventScript_Blackboard"
}, },
{ {
"type": "sign", "type": "sign",
@@ -138,7 +138,7 @@
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_PokemonSchool_EventScript_213EA9" "script": "RustboroCity_PokemonSchool_EventScript_Blackboard"
}, },
{ {
"type": "sign", "type": "sign",
@@ -146,7 +146,7 @@
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_PokemonSchool_EventScript_213EA9" "script": "RustboroCity_PokemonSchool_EventScript_Blackboard"
}, },
{ {
"type": "sign", "type": "sign",
@@ -154,7 +154,7 @@
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_PokemonSchool_EventScript_213EA9" "script": "RustboroCity_PokemonSchool_EventScript_Blackboard"
}, },
{ {
"type": "sign", "type": "sign",
@@ -162,7 +162,7 @@
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_PokemonSchool_EventScript_213F8C" "script": "RustboroCity_PokemonSchool_EventScript_StudentNotebook"
} }
] ]
} }
@@ -1,88 +1,88 @@
RustboroCity_PokemonSchool_MapScripts:: @ 8213EA8 RustboroCity_PokemonSchool_MapScripts:: @ 8213EA8
.byte 0 .byte 0
RustboroCity_PokemonSchool_EventScript_213EA9:: @ 8213EA9 RustboroCity_PokemonSchool_EventScript_Blackboard:: @ 8213EA9
lockall lockall
msgbox RustboroCity_PokemonSchool_Text_2140B2, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_BlackboardListsStatusChanges, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213EB8:: @ 8213EB8 RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic:: @ 8213EB8
message RustboroCity_PokemonSchool_Text_2140F9 message RustboroCity_PokemonSchool_Text_ReadWhichTopic
waitmessage waitmessage
multichoicegrid 8, 1, MULTI_STATUS_INFO, 3, 0 multichoicegrid 8, 1, MULTI_STATUS_INFO, 3, 0
switch VAR_RESULT switch VAR_RESULT
case 0, RustboroCity_PokemonSchool_EventScript_213F17 case 0, RustboroCity_PokemonSchool_EventScript_Poison
case 1, RustboroCity_PokemonSchool_EventScript_213F25 case 1, RustboroCity_PokemonSchool_EventScript_Paralysis
case 2, RustboroCity_PokemonSchool_EventScript_213F33 case 2, RustboroCity_PokemonSchool_EventScript_Sleep
case 3, RustboroCity_PokemonSchool_EventScript_213F41 case 3, RustboroCity_PokemonSchool_EventScript_Burn
case 4, RustboroCity_PokemonSchool_EventScript_213F4F case 4, RustboroCity_PokemonSchool_EventScript_Freeze
case 5, RustboroCity_PokemonSchool_EventScript_213F5D case 5, RustboroCity_PokemonSchool_EventScript_ExitTopicSelect
case MULTI_B_PRESSED, RustboroCity_PokemonSchool_EventScript_213F5D case MULTI_B_PRESSED, RustboroCity_PokemonSchool_EventScript_ExitTopicSelect
end end
RustboroCity_PokemonSchool_EventScript_213F17:: @ 8213F17 RustboroCity_PokemonSchool_EventScript_Poison:: @ 8213F17
msgbox RustboroCity_PokemonSchool_Text_21411A, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainPoison, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213F25:: @ 8213F25 RustboroCity_PokemonSchool_EventScript_Paralysis:: @ 8213F25
msgbox RustboroCity_PokemonSchool_Text_2141D8, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainParalysis, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213F33:: @ 8213F33 RustboroCity_PokemonSchool_EventScript_Sleep:: @ 8213F33
msgbox RustboroCity_PokemonSchool_Text_21427D, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainSleep, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213F41:: @ 8213F41 RustboroCity_PokemonSchool_EventScript_Burn:: @ 8213F41
msgbox RustboroCity_PokemonSchool_Text_214336, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainBurn, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213F4F:: @ 8213F4F RustboroCity_PokemonSchool_EventScript_Freeze:: @ 8213F4F
msgbox RustboroCity_PokemonSchool_Text_2143B8, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainFreeze, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_213EB8 goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end end
RustboroCity_PokemonSchool_EventScript_213F5D:: @ 8213F5D RustboroCity_PokemonSchool_EventScript_ExitTopicSelect:: @ 8213F5D
releaseall releaseall
end end
RustboroCity_PokemonSchool_EventScript_213F5F:: @ 8213F5F RustboroCity_PokemonSchool_EventScript_GameboyKid1:: @ 8213F5F
msgbox RustboroCity_PokemonSchool_Text_21459F, MSGBOX_NPC msgbox RustboroCity_PokemonSchool_Text_TradingRightNow, MSGBOX_NPC
end end
RustboroCity_PokemonSchool_EventScript_213F68:: @ 8213F68 RustboroCity_PokemonSchool_EventScript_GameboyKid2:: @ 8213F68
msgbox RustboroCity_PokemonSchool_Text_2145CD, MSGBOX_NPC msgbox RustboroCity_PokemonSchool_Text_AlwaysWantedSeedot, MSGBOX_NPC
end end
RustboroCity_PokemonSchool_EventScript_213F71:: @ 8213F71 RustboroCity_PokemonSchool_EventScript_RichBoy:: @ 8213F71
msgbox RustboroCity_PokemonSchool_Text_214604, MSGBOX_NPC msgbox RustboroCity_PokemonSchool_Text_PokemontCantUseManMadeItems, MSGBOX_NPC
end end
RustboroCity_PokemonSchool_EventScript_213F7A:: @ 8213F7A RustboroCity_PokemonSchool_EventScript_Lass:: @ 8213F7A
msgbox RustboroCity_PokemonSchool_Text_214669, MSGBOX_NPC msgbox RustboroCity_PokemonSchool_Text_ConfusedPokemonAttacksItself, MSGBOX_NPC
end end
RustboroCity_PokemonSchool_EventScript_213F83:: @ 8213F83 RustboroCity_PokemonSchool_EventScript_SchoolKidM:: @ 8213F83
msgbox RustboroCity_PokemonSchool_Text_214719, MSGBOX_NPC msgbox RustboroCity_PokemonSchool_Text_PokemonHealItselfWithBerry, MSGBOX_NPC
end end
RustboroCity_PokemonSchool_EventScript_213F8C:: @ 8213F8C RustboroCity_PokemonSchool_EventScript_StudentNotebook:: @ 8213F8C
msgbox RustboroCity_PokemonSchool_Text_2147A2, MSGBOX_SIGN msgbox RustboroCity_PokemonSchool_Text_StudentsNotes, MSGBOX_SIGN
end end
RustboroCity_PokemonSchool_EventScript_213F95:: @ 8213F95 RustboroCity_PokemonSchool_EventScript_Teacher:: @ 8213F95
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_QUICK_CLAW, RustboroCity_PokemonSchool_EventScript_213FFB goto_if_set FLAG_RECEIVED_QUICK_CLAW, RustboroCity_PokemonSchool_EventScript_GaveQuickClaw
compare VAR_FACING, DIR_EAST compare VAR_FACING, DIR_EAST
call_if_eq RustboroCity_PokemonSchool_EventScript_213FE5 call_if_eq RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsEast
compare VAR_FACING, DIR_WEST compare VAR_FACING, DIR_WEST
call_if_eq RustboroCity_PokemonSchool_EventScript_213FF0 call_if_eq RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest
msgbox RustboroCity_PokemonSchool_Text_214433, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw, MSGBOX_DEFAULT
giveitem_std ITEM_QUICK_CLAW giveitem_std ITEM_QUICK_CLAW
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
@@ -93,25 +93,25 @@ RustboroCity_PokemonSchool_EventScript_213F95:: @ 8213F95
release release
end end
RustboroCity_PokemonSchool_EventScript_213FE5:: @ 8213FE5 RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsEast:: @ 8213FE5
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_214027 applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsEast
waitmovement 0 waitmovement 0
return return
RustboroCity_PokemonSchool_EventScript_213FF0:: @ 8213FF0 RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest:: @ 8213FF0
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_214010 applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsWest
waitmovement 0 waitmovement 0
return return
RustboroCity_PokemonSchool_EventScript_213FFB:: @ 8213FFB RustboroCity_PokemonSchool_EventScript_GaveQuickClaw:: @ 8213FFB
msgbox RustboroCity_PokemonSchool_Text_2144C8, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ExplainQuickClaw, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
release release
end end
RustboroCity_PokemonSchool_Movement_214010: @ 8214010 RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsWest: @ 8214010
walk_left walk_left
walk_down walk_down
walk_down walk_down
@@ -136,7 +136,7 @@ RustboroCity_PokemonSchool_Movement_214010: @ 8214010
walk_right walk_right
step_end step_end
RustboroCity_PokemonSchool_Movement_214027: @ 8214027 RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsEast: @ 8214027
walk_right walk_right
walk_right walk_right
walk_down walk_down
@@ -163,53 +163,53 @@ RustboroCity_PokemonSchool_Movement_214027: @ 8214027
walk_left walk_left
step_end step_end
RustboroCity_PokemonSchool_EventScript_214040:: @ 8214040 RustboroCity_PokemonSchool_EventScript_Scott:: @ 8214040
lock lock
faceplayer faceplayer
goto_if_set FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE, RustboroCity_PokemonSchool_EventScript_2140A8 goto_if_set FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE, RustboroCity_PokemonSchool_EventScript_ScottWatchStudents
goto_if_set FLAG_MET_SCOTT_RUSTBORO, RustboroCity_PokemonSchool_EventScript_21406F goto_if_set FLAG_MET_SCOTT_RUSTBORO, RustboroCity_PokemonSchool_EventScript_ScottSpokeAlready
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_214082 goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_ScottGreetHasBadge
msgbox RustboroCity_PokemonSchool_Text_2148C0, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ScottMetAlreadyCut, MSGBOX_DEFAULT
addvar VAR_SCOTT_STATE, 1 addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_RUSTBORO setflag FLAG_MET_SCOTT_RUSTBORO
release release
end end
RustboroCity_PokemonSchool_EventScript_21406F:: @ 821406F RustboroCity_PokemonSchool_EventScript_ScottSpokeAlready:: @ 821406F
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_214090 goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_ScottNoticeBadge
msgbox RustboroCity_PokemonSchool_Text_214A5F, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown, MSGBOX_DEFAULT
release release
end end
RustboroCity_PokemonSchool_EventScript_214082:: @ 8214082 RustboroCity_PokemonSchool_EventScript_ScottGreetHasBadge:: @ 8214082
msgbox RustboroCity_PokemonSchool_Text_214B8A, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ScottMetAlreadyStoneBadge, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_21409E goto RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge
end end
RustboroCity_PokemonSchool_EventScript_214090:: @ 8214090 RustboroCity_PokemonSchool_EventScript_ScottNoticeBadge:: @ 8214090
msgbox RustboroCity_PokemonSchool_Text_214AB6, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_ScottStoneBadge, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_21409E goto RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge
end end
RustboroCity_PokemonSchool_EventScript_21409E:: @ 821409E RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge:: @ 821409E
addvar VAR_SCOTT_STATE, 1 addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE setflag FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE
release release
end end
RustboroCity_PokemonSchool_EventScript_2140A8:: @ 82140A8 RustboroCity_PokemonSchool_EventScript_ScottWatchStudents:: @ 82140A8
msgbox RustboroCity_PokemonSchool_Text_214A5F, MSGBOX_DEFAULT msgbox RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown, MSGBOX_DEFAULT
release release
end end
RustboroCity_PokemonSchool_Text_2140B2: @ 82140B2 RustboroCity_PokemonSchool_Text_BlackboardListsStatusChanges: @ 82140B2
.string "The blackboard lists status changes\n" .string "The blackboard lists status changes\n"
.string "that may affect POKéMON in battle.$" .string "that may affect POKéMON in battle.$"
RustboroCity_PokemonSchool_Text_2140F9: @ 82140F9 RustboroCity_PokemonSchool_Text_ReadWhichTopic: @ 82140F9
.string "Which topic do you want to read?$" .string "Which topic do you want to read?$"
RustboroCity_PokemonSchool_Text_21411A: @ 821411A RustboroCity_PokemonSchool_Text_ExplainPoison: @ 821411A
.string "If a POKéMON is poisoned, it will\n" .string "If a POKéMON is poisoned, it will\n"
.string "steadily lose HP.\p" .string "steadily lose HP.\p"
.string "The effects of poison remain after\n" .string "The effects of poison remain after\n"
@@ -218,7 +218,7 @@ RustboroCity_PokemonSchool_Text_21411A: @ 821411A
.string "while it is traveling.\p" .string "while it is traveling.\p"
.string "Heal a poisoning using an ANTIDOTE.$" .string "Heal a poisoning using an ANTIDOTE.$"
RustboroCity_PokemonSchool_Text_2141D8: @ 82141D8 RustboroCity_PokemonSchool_Text_ExplainParalysis: @ 82141D8
.string "If a POKéMON becomes paralyzed,\n" .string "If a POKéMON becomes paralyzed,\n"
.string "its SPEED drops.\p" .string "its SPEED drops.\p"
.string "It may also not be able to move while\n" .string "It may also not be able to move while\n"
@@ -226,7 +226,7 @@ RustboroCity_PokemonSchool_Text_2141D8: @ 82141D8
.string "Paralysis remains after battle.\n" .string "Paralysis remains after battle.\n"
.string "Cure it using a PARLYZ HEAL.$" .string "Cure it using a PARLYZ HEAL.$"
RustboroCity_PokemonSchool_Text_21427D: @ 821427D RustboroCity_PokemonSchool_Text_ExplainSleep: @ 821427D
.string "If a POKéMON falls asleep, it will be\n" .string "If a POKéMON falls asleep, it will be\n"
.string "unable to attack.\p" .string "unable to attack.\p"
.string "A POKéMON may wake up on its own,\n" .string "A POKéMON may wake up on its own,\n"
@@ -234,26 +234,26 @@ RustboroCity_PokemonSchool_Text_21427D: @ 821427D
.string "sleeping, it will stay asleep.\p" .string "sleeping, it will stay asleep.\p"
.string "Wake it up using an AWAKENING.$" .string "Wake it up using an AWAKENING.$"
RustboroCity_PokemonSchool_Text_214336: @ 8214336 RustboroCity_PokemonSchool_Text_ExplainBurn: @ 8214336
.string "A burn reduces ATTACK power, and it\n" .string "A burn reduces ATTACK power, and it\n"
.string "steadily reduces the victim's HP.\p" .string "steadily reduces the victim's HP.\p"
.string "A burn lingers after battle.\n" .string "A burn lingers after battle.\n"
.string "Cure a burn using a BURN HEAL.$" .string "Cure a burn using a BURN HEAL.$"
RustboroCity_PokemonSchool_Text_2143B8: @ 82143B8 RustboroCity_PokemonSchool_Text_ExplainFreeze: @ 82143B8
.string "If a POKéMON is frozen, it becomes\n" .string "If a POKéMON is frozen, it becomes\n"
.string "completely helpless.\p" .string "completely helpless.\p"
.string "It will remain frozen after battle.\n" .string "It will remain frozen after battle.\n"
.string "Thaw it out using an ICE HEAL.$" .string "Thaw it out using an ICE HEAL.$"
RustboroCity_PokemonSchool_Text_214433: @ 8214433 RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw: @ 8214433
.string "Students who don't study get a little\n" .string "Students who don't study get a little\n"
.string "taste of my QUICK CLAW.\p" .string "taste of my QUICK CLAW.\p"
.string "Whether or not you are a good student \n" .string "Whether or not you are a good student \n"
.string "will be evident from the way you use\l" .string "will be evident from the way you use\l"
.string "this item.$" .string "this item.$"
RustboroCity_PokemonSchool_Text_2144C8: @ 82144C8 RustboroCity_PokemonSchool_Text_ExplainQuickClaw: @ 82144C8
.string "A POKéMON holding the QUICK CLAW will\n" .string "A POKéMON holding the QUICK CLAW will\n"
.string "occasionally speed up and get to move\l" .string "occasionally speed up and get to move\l"
.string "before its opponent.\p" .string "before its opponent.\p"
@@ -262,20 +262,20 @@ RustboroCity_PokemonSchool_Text_2144C8: @ 82144C8
.string "Just those alone will give you many\n" .string "Just those alone will give you many\n"
.string "topics to study!$" .string "topics to study!$"
RustboroCity_PokemonSchool_Text_21459F: @ 821459F RustboroCity_PokemonSchool_Text_TradingRightNow: @ 821459F
.string "I'm trading POKéMON with my friend\n" .string "I'm trading POKéMON with my friend\n"
.string "right now.$" .string "right now.$"
RustboroCity_PokemonSchool_Text_2145CD: @ 82145CD RustboroCity_PokemonSchool_Text_AlwaysWantedSeedot: @ 82145CD
.string "I always wanted a SEEDOT, and\n" .string "I always wanted a SEEDOT, and\n"
.string "I'm finally getting one!$" .string "I'm finally getting one!$"
RustboroCity_PokemonSchool_Text_214604: @ 8214604 RustboroCity_PokemonSchool_Text_PokemontCantUseManMadeItems: @ 8214604
.string "POKéMON can hold items, but they\n" .string "POKéMON can hold items, but they\n"
.string "don't know what to do with man-made\l" .string "don't know what to do with man-made\l"
.string "items like POTION and ANTIDOTE.$" .string "items like POTION and ANTIDOTE.$"
RustboroCity_PokemonSchool_Text_214669: @ 8214669 RustboroCity_PokemonSchool_Text_ConfusedPokemonAttacksItself: @ 8214669
.string "You know how some POKéMON moves can\n" .string "You know how some POKéMON moves can\n"
.string "confuse a POKéMON?\p" .string "confuse a POKéMON?\p"
.string "A confused POKéMON will sometimes\n" .string "A confused POKéMON will sometimes\n"
@@ -283,7 +283,7 @@ RustboroCity_PokemonSchool_Text_214669: @ 8214669
.string "But once it leaves battle, it will\n" .string "But once it leaves battle, it will\n"
.string "return to normal.$" .string "return to normal.$"
RustboroCity_PokemonSchool_Text_214719: @ 8214719 RustboroCity_PokemonSchool_Text_PokemonHealItselfWithBerry: @ 8214719
.string "A POKéMON holding a BERRY will heal\n" .string "A POKéMON holding a BERRY will heal\n"
.string "itself…\p" .string "itself…\p"
.string "There are many kinds of items that\n" .string "There are many kinds of items that\n"
@@ -291,7 +291,7 @@ RustboroCity_PokemonSchool_Text_214719: @ 8214719
.string "Boy, it sure is hard taking notes\n" .string "Boy, it sure is hard taking notes\n"
.string "down…$" .string "down…$"
RustboroCity_PokemonSchool_Text_2147A2: @ 82147A2 RustboroCity_PokemonSchool_Text_StudentsNotes: @ 82147A2
.string "It's this student's notebook…\p" .string "It's this student's notebook…\p"
.string "POKéMON are to be caught using\n" .string "POKéMON are to be caught using\n"
.string "POKé BALLS.\p" .string "POKé BALLS.\p"
@@ -304,7 +304,7 @@ RustboroCity_PokemonSchool_Text_2147A2: @ 82147A2
.string "the strong TRAINERS who await\l" .string "the strong TRAINERS who await\l"
.string "challengers in POKéMON GYMS.$" .string "challengers in POKéMON GYMS.$"
RustboroCity_PokemonSchool_Text_2148C0: @ 82148C0 RustboroCity_PokemonSchool_Text_ScottMetAlreadyCut: @ 82148C0
.string "Hello? Didn't we meet before?\n" .string "Hello? Didn't we meet before?\n"
.string "I think back in PETALBURG CITY.\p" .string "I think back in PETALBURG CITY.\p"
.string "Let me introduce myself.\n" .string "Let me introduce myself.\n"
@@ -320,12 +320,12 @@ RustboroCity_PokemonSchool_Text_2148C0: @ 82148C0
.string "If I remember correctly, someone in\n" .string "If I remember correctly, someone in\n"
.string "this town has CUT.$" .string "this town has CUT.$"
RustboroCity_PokemonSchool_Text_214A5F: @ 8214A5F RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown: @ 8214A5F
.string "SCOTT: Hmm…\p" .string "SCOTT: Hmm…\p"
.string "The talent levels of the students here\n" .string "The talent levels of the students here\n"
.string "are unknown. The potential's there.$" .string "are unknown. The potential's there.$"
RustboroCity_PokemonSchool_Text_214AB6: @ 8214AB6 RustboroCity_PokemonSchool_Text_ScottStoneBadge: @ 8214AB6
.string "SCOTT: Oh, what's that?\p" .string "SCOTT: Oh, what's that?\p"
.string "It's a STONE BADGE, isn't it?\n" .string "It's a STONE BADGE, isn't it?\n"
.string "That's pretty impressive, I'd say.\p" .string "That's pretty impressive, I'd say.\p"
@@ -334,7 +334,7 @@ RustboroCity_PokemonSchool_Text_214AB6: @ 8214AB6
.string "It's hard to tell what you're like as\n" .string "It's hard to tell what you're like as\n"
.string "a TRAINER from a LEAGUE BADGE.$" .string "a TRAINER from a LEAGUE BADGE.$"
RustboroCity_PokemonSchool_Text_214B8A: @ 8214B8A RustboroCity_PokemonSchool_Text_ScottMetAlreadyStoneBadge: @ 8214B8A
.string "Hello? Didn't we meet before?\n" .string "Hello? Didn't we meet before?\n"
.string "I think back in PETALBURG CITY.\p" .string "I think back in PETALBURG CITY.\p"
.string "Let me introduce myself.\n" .string "Let me introduce myself.\n"
+1 -1
View File
@@ -95,7 +95,7 @@ EventScript_ResetAllMapFlags:: @ 82715DE
setflag FLAG_UNKNOWN_0x363 setflag FLAG_UNKNOWN_0x363
setflag FLAG_HIDE_RUSTBORO_CITY_AQUA_GRUNT setflag FLAG_HIDE_RUSTBORO_CITY_AQUA_GRUNT
setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_EMPLOYEE_1 setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_EMPLOYEE_1
setflag FLAG_HIDE_RUSBORO_CITY_RIVAL setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
setflag FLAG_HIDE_RUSTBORO_CITY_SCIENTIST setflag FLAG_HIDE_RUSTBORO_CITY_SCIENTIST
setflag FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN setflag FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN
setflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY setflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
+1 -1
View File
@@ -479,7 +479,7 @@ gSpecials:: @ 81DBA64
def_special ShowFrontierGamblerLookingMessage def_special ShowFrontierGamblerLookingMessage
def_special ShowFrontierGamblerGoMessage def_special ShowFrontierGamblerGoMessage
def_special Script_DoRayquazaScene def_special Script_DoRayquazaScene
def_special sub_81C72A4 def_special OpenPokenavForTutorial
def_special ScriptMenu_CreateStartMenuForPokenavTutorial def_special ScriptMenu_CreateStartMenuForPokenavTutorial
def_special CountPlayerTrainerStars def_special CountPlayerTrainerStars
def_special BufferBattleFrontierTutorMoveName def_special BufferBattleFrontierTutorMoveName
+1 -1
View File
@@ -854,7 +854,7 @@
#define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_CYNDAQUIL 0x32B #define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_CYNDAQUIL 0x32B
#define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_TOTODILE 0x32C #define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_TOTODILE 0x32C
#define FLAG_HIDE_ROUTE_116_DROPPED_GLASSES_MAN 0x32D #define FLAG_HIDE_ROUTE_116_DROPPED_GLASSES_MAN 0x32D
#define FLAG_HIDE_RUSBORO_CITY_RIVAL 0x32E #define FLAG_HIDE_RUSTBORO_CITY_RIVAL 0x32E
#define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL 0x32F #define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL 0x32F
#define FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE 0x330 #define FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE 0x330
#define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL 0x331 #define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL 0x331
+8 -8
View File
@@ -48,8 +48,8 @@ static void VBlankCB_Pokenav(void);
static void CB2_Pokenav(void); static void CB2_Pokenav(void);
static void Task_RunLoopedTask_LinkMode(u8 a0); static void Task_RunLoopedTask_LinkMode(u8 a0);
static void Task_RunLoopedTask(u8 taskId); static void Task_RunLoopedTask(u8 taskId);
static void sub_81C742C(u8 taskId); static void Task_Pokenav(u8 taskId);
static void sub_81C72BC(void); static void CB2_InitPokenavForTutorial(void);
const struct UnknownPokenavCallbackStruct PokenavMenuCallbacks[15] = const struct UnknownPokenavCallbackStruct PokenavMenuCallbacks[15] =
{ {
@@ -311,19 +311,19 @@ void CB2_InitPokeNav(void)
InitPokenavResources(gPokenavResources); InitPokenavResources(gPokenavResources);
ResetTasks(); ResetTasks();
SetVBlankCallback(NULL); SetVBlankCallback(NULL);
CreateTask(sub_81C742C, 0); CreateTask(Task_Pokenav, 0);
SetMainCallback2(CB2_Pokenav); SetMainCallback2(CB2_Pokenav);
SetVBlankCallback(VBlankCB_Pokenav); SetVBlankCallback(VBlankCB_Pokenav);
} }
} }
void sub_81C72A4(void) void OpenPokenavForTutorial(void)
{ {
SetMainCallback2(sub_81C72BC); SetMainCallback2(CB2_InitPokenavForTutorial);
FadeScreen(1, 0); FadeScreen(1, 0);
} }
static void sub_81C72BC(void) static void CB2_InitPokenavForTutorial(void)
{ {
UpdatePaletteFade(); UpdatePaletteFade();
if (gPaletteFade.active) if (gPaletteFade.active)
@@ -342,7 +342,7 @@ static void sub_81C72BC(void)
ResetSpriteData(); ResetSpriteData();
FreeAllSpritePalettes(); FreeAllSpritePalettes();
SetVBlankCallback(NULL); SetVBlankCallback(NULL);
CreateTask(sub_81C742C, 0); CreateTask(Task_Pokenav, 0);
SetMainCallback2(CB2_Pokenav); SetMainCallback2(CB2_Pokenav);
SetVBlankCallback(VBlankCB_Pokenav); SetVBlankCallback(VBlankCB_Pokenav);
} }
@@ -416,7 +416,7 @@ static void VBlankCB_Pokenav(void)
ProcessSpriteCopyRequests(); ProcessSpriteCopyRequests();
} }
static void sub_81C742C(u8 taskId) static void Task_Pokenav(u8 taskId)
{ {
u32 v1; u32 v1;
s16 *data = gTasks[taskId].data; s16 *data = gTasks[taskId].data;