Document Slateport scripts

This commit is contained in:
GriffinR
2019-11-09 03:07:32 -05:00
committed by huderlem
parent 1174a20a17
commit a38bff8c17
24 changed files with 924 additions and 925 deletions
+3 -3
View File
@@ -1223,8 +1223,8 @@ _080224C0:
bx r0 bx r0
thumb_func_end sub_8022250 thumb_func_end sub_8022250
thumb_func_start sub_80224D0 thumb_func_start ShowBerryCrushRankings
sub_80224D0: @ 80224D0 ShowBerryCrushRankings: @ 80224D0
push {lr} push {lr}
bl ScriptContext2_Enable bl ScriptContext2_Enable
ldr r0, =sub_8022250 ldr r0, =sub_8022250
@@ -1259,7 +1259,7 @@ sub_80224D0: @ 80224D0
pop {r0} pop {r0}
bx r0 bx r0
.pool .pool
thumb_func_end sub_80224D0 thumb_func_end ShowBerryCrushRankings
thumb_func_start sub_8022524 thumb_func_start sub_8022524
sub_8022524: @ 8022524 sub_8022524: @ 8022524
+2 -2
View File
@@ -206,12 +206,12 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/SlateportCity_BattleTentLobby/scripts.inc" .include "data/maps/SlateportCity_BattleTentLobby/scripts.inc"
.include "data/maps/SlateportCity_BattleTentCorridor/scripts.inc" .include "data/maps/SlateportCity_BattleTentCorridor/scripts.inc"
.include "data/maps/SlateportCity_BattleTentBattleRoom/scripts.inc" .include "data/maps/SlateportCity_BattleTentBattleRoom/scripts.inc"
.include "data/maps/SlateportCity_House1/scripts.inc" .include "data/maps/SlateportCity_NameRatersHouse/scripts.inc"
.include "data/maps/SlateportCity_PokemonFanClub/scripts.inc" .include "data/maps/SlateportCity_PokemonFanClub/scripts.inc"
.include "data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc" .include "data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc"
.include "data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc" .include "data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc"
.include "data/maps/SlateportCity_Harbor/scripts.inc" .include "data/maps/SlateportCity_Harbor/scripts.inc"
.include "data/maps/SlateportCity_House2/scripts.inc" .include "data/maps/SlateportCity_House/scripts.inc"
.include "data/maps/SlateportCity_PokemonCenter_1F/scripts.inc" .include "data/maps/SlateportCity_PokemonCenter_1F/scripts.inc"
.include "data/maps/SlateportCity_PokemonCenter_2F/scripts.inc" .include "data/maps/SlateportCity_PokemonCenter_2F/scripts.inc"
.include "data/maps/SlateportCity_Mart/scripts.inc" .include "data/maps/SlateportCity_Mart/scripts.inc"
+46 -46
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": "SlateportCity_EventScript_1DCED9", "script": "SlateportCity_EventScript_FatMan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -53,7 +53,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": "SlateportCity_EventScript_1DCEF6", "script": "SlateportCity_EventScript_Man1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -66,7 +66,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_1DCEB8", "script": "SlateportCity_EventScript_RichBoy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -79,7 +79,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": "SlateportCity_EventScript_1DCF17", "script": "SlateportCity_EventScript_Woman1",
"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": "SlateportCity_EventScript_1DD009", "script": "SlateportCity_EventScript_AquaGrunt1",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -105,7 +105,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": "SlateportCity_EventScript_1DCE42", "script": "SlateportCity_EventScript_Cook",
"flag": "0" "flag": "0"
}, },
{ {
@@ -118,7 +118,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": "SlateportCity_EventScript_1DCE63", "script": "SlateportCity_EventScript_OldWoman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -131,7 +131,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": "SlateportCity_EventScript_1DCE84", "script": "SlateportCity_EventScript_Girl",
"flag": "0" "flag": "0"
}, },
{ {
@@ -144,7 +144,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": "SlateportCity_EventScript_1DD353", "script": "SlateportCity_EventScript_Ty",
"flag": "FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY" "flag": "FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY"
}, },
{ {
@@ -157,7 +157,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": "SlateportCity_EventScript_1DD35C", "script": "SlateportCity_EventScript_Gabby",
"flag": "FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY" "flag": "FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY"
}, },
{ {
@@ -170,7 +170,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": "SlateportCity_EventScript_1DD1F8", "script": "SlateportCity_EventScript_CaptStern",
"flag": "FLAG_HIDE_SLATEPORT_CITY_CAPTAIN_STERN" "flag": "FLAG_HIDE_SLATEPORT_CITY_CAPTAIN_STERN"
}, },
{ {
@@ -183,7 +183,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": "SlateportCity_EventScript_1DCFE5", "script": "SlateportCity_EventScript_Sailor1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -196,7 +196,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": "SlateportCity_EventScript_1DCFEE", "script": "SlateportCity_EventScript_Sailor2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -209,7 +209,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": "SlateportCity_EventScript_1DCFF7", "script": "SlateportCity_EventScript_PokefanF",
"flag": "0" "flag": "0"
}, },
{ {
@@ -222,7 +222,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": "SlateportCity_EventScript_1DD000", "script": "SlateportCity_EventScript_Man2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -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": "SlateportCity_EventScript_1DCFBB", "script": "SlateportCity_EventScript_Maniac",
"flag": "0" "flag": "0"
}, },
{ {
@@ -248,7 +248,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": "SlateportCity_EventScript_1DCFDC", "script": "SlateportCity_EventScript_Woman2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -261,7 +261,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": "SlateportCity_EventScript_1DD020", "script": "SlateportCity_EventScript_AquaGrunt2",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -274,7 +274,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": "SlateportCity_EventScript_1DD037", "script": "SlateportCity_EventScript_AquaGrunt3",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -287,7 +287,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": "SlateportCity_EventScript_1DD198", "script": "SlateportCity_EventScript_DecorClerk",
"flag": "0" "flag": "0"
}, },
{ {
@@ -300,7 +300,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": "SlateportCity_EventScript_1DD16A", "script": "SlateportCity_EventScript_DollClerk",
"flag": "0" "flag": "0"
}, },
{ {
@@ -313,7 +313,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": "SlateportCity_EventScript_1DD365", "script": "SlateportCity_EventScript_Man3",
"flag": "0" "flag": "0"
}, },
{ {
@@ -326,7 +326,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": "SlateportCity_EventScript_1DCDE4", "script": "SlateportCity_EventScript_EffortRibbonWoman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -339,7 +339,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": "SlateportCity_EventScript_1DD1D8", "script": "SlateportCity_EventScript_PowerTMClerk",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TM_SALESMAN" "flag": "FLAG_HIDE_SLATEPORT_CITY_TM_SALESMAN"
}, },
{ {
@@ -352,7 +352,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": "SlateportCity_EventScript_1DCDBD", "script": "SlateportCity_EventScript_EnergyGuru",
"flag": "0" "flag": "0"
}, },
{ {
@@ -365,7 +365,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": "SlateportCity_EventScript_1DD04E", "script": "SlateportCity_EventScript_AquaGrunt4",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -378,7 +378,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": "SlateportCity_EventScript_1DD065", "script": "SlateportCity_EventScript_AquaGrunt5",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -391,7 +391,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": "SlateportCity_EventScript_1DD07C", "script": "SlateportCity_EventScript_AquaGrunt6",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -404,7 +404,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": "SlateportCity_EventScript_1DD093", "script": "SlateportCity_EventScript_AquaGrunt7",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -417,7 +417,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": "SlateportCity_EventScript_1DD0AA", "script": "SlateportCity_EventScript_AquaGrunt8",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -430,7 +430,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": "SlateportCity_EventScript_1DD0C1", "script": "SlateportCity_EventScript_AquaGrunt9",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -443,7 +443,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": "SlateportCity_EventScript_1DD14A", "script": "SlateportCity_EventScript_AquaGrunt10",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -456,7 +456,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": "SlateportCity_EventScript_1DD153", "script": "SlateportCity_EventScript_AquaGrunt11",
"flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA" "flag": "FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA"
}, },
{ {
@@ -469,7 +469,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_1DD36E", "script": "SlateportCity_EventScript_BerryPowderClerk",
"flag": "0" "flag": "0"
}, },
{ {
@@ -533,7 +533,7 @@
"x": 5, "x": 5,
"y": 19, "y": 19,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_SLATEPORT_CITY_HOUSE1", "dest_map": "MAP_SLATEPORT_CITY_NAME_RATERS_HOUSE",
"dest_warp_id": 0 "dest_warp_id": 0
}, },
{ {
@@ -561,7 +561,7 @@
"x": 21, "x": 21,
"y": 44, "y": 44,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_SLATEPORT_CITY_HOUSE2", "dest_map": "MAP_SLATEPORT_CITY_HOUSE",
"dest_warp_id": 0 "dest_warp_id": 0
} }
], ],
@@ -573,7 +573,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE", "var": "VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE",
"var_value": "2", "var_value": "2",
"script": "SlateportCity_EventScript_1DD5DC" "script": "SlateportCity_EventScript_ScottBattleTentScene"
} }
], ],
"bg_events": [ "bg_events": [
@@ -583,7 +583,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": "SlateportCity_EventScript_1DCFB2" "script": "SlateportCity_EventScript_NameRatersHouseSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -615,7 +615,7 @@
"y": 12, "y": 12,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF94" "script": "SlateportCity_EventScript_HarborSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -631,7 +631,7 @@
"y": 51, "y": 51,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF8B" "script": "SlateportCity_EventScript_MarketSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -639,7 +639,7 @@
"y": 26, "y": 26,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF79" "script": "SlateportCity_EventScript_OceanicMuseumSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -647,7 +647,7 @@
"y": 22, "y": 22,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF82" "script": "SlateportCity_EventScript_CitySign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -655,7 +655,7 @@
"y": 26, "y": 26,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF70" "script": "SlateportCity_EventScript_PokemonFanClubSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -663,7 +663,7 @@
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF36" "script": "SlateportCity_EventScript_BattleTentSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -671,7 +671,7 @@
"y": 38, "y": 38,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SlateportCity_EventScript_1DCF3F" "script": "SlateportCity_EventScript_SternsShipyardSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -679,7 +679,7 @@
"y": 36, "y": 36,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH", "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "SlateportCity_EventScript_1DD643" "script": "SlateportCity_EventScript_BerryCrushRankingsSign"
} }
] ]
} }
File diff suppressed because it is too large Load Diff
+8 -8
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": "SlateportCity_Harbor_EventScript_20CAF1", "script": "SlateportCity_Harbor_EventScript_FerryAttendant",
"flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS" "flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS"
}, },
{ {
@@ -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": "SlateportCity_Harbor_EventScript_20CC52", "script": "SlateportCity_Harbor_EventScript_Sailor",
"flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS" "flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS"
}, },
{ {
@@ -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": "SlateportCity_Harbor_EventScript_20CC99", "script": "SlateportCity_Harbor_EventScript_FatMan",
"flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS" "flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS"
}, },
{ {
@@ -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": "SlateportCity_Harbor_EventScript_20CCA2", "script": "SlateportCity_Harbor_EventScript_CaptStern",
"flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_CAPTAIN_STERN" "flag": "FLAG_HIDE_SLATEPORT_CITY_HARBOR_CAPTAIN_STERN"
}, },
{ {
@@ -157,7 +157,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_SLATEPORT_HARBOR_STATE", "var": "VAR_SLATEPORT_HARBOR_STATE",
"var_value": "1", "var_value": "1",
"script": "SlateportCity_Harbor_EventScript_20C9BB" "script": "SlateportCity_Harbor_EventScript_AquaEscapeTrigger0"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -166,7 +166,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_SLATEPORT_HARBOR_STATE", "var": "VAR_SLATEPORT_HARBOR_STATE",
"var_value": "1", "var_value": "1",
"script": "SlateportCity_Harbor_EventScript_20C9C7" "script": "SlateportCity_Harbor_EventScript_AquaEscapeTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -175,7 +175,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_SLATEPORT_HARBOR_STATE", "var": "VAR_SLATEPORT_HARBOR_STATE",
"var_value": "1", "var_value": "1",
"script": "SlateportCity_Harbor_EventScript_20C9D3" "script": "SlateportCity_Harbor_EventScript_AquaEscapeTrigger2"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -184,7 +184,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_SLATEPORT_HARBOR_STATE", "var": "VAR_SLATEPORT_HARBOR_STATE",
"var_value": "1", "var_value": "1",
"script": "SlateportCity_Harbor_EventScript_20C9DF" "script": "SlateportCity_Harbor_EventScript_AquaEscapeTrigger3"
} }
], ],
"bg_events": [] "bg_events": []
+165 -164
View File
@@ -6,58 +6,58 @@ SlateportCity_Harbor_OnTransition: @ 820C983
setescapewarp MAP_SLATEPORT_CITY, 255, 28, 13 setescapewarp MAP_SLATEPORT_CITY, 255, 28, 13
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
compare VAR_SLATEPORT_HARBOR_STATE, 1 compare VAR_SLATEPORT_HARBOR_STATE, 1
call_if_eq SlateportCity_Harbor_EventScript_20C9A9 call_if_eq SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene
call_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20C9A5 call_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_ShowSSTidal
end end
SlateportCity_Harbor_EventScript_20C9A5:: @ 820C9A5 SlateportCity_Harbor_EventScript_ShowSSTidal:: @ 820C9A5
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL
return return
SlateportCity_Harbor_EventScript_20C9A9:: @ 820C9A9 SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene:: @ 820C9A9
savebgm MUS_AQA_0 savebgm MUS_AQA_0
setobjectxyperm 4, 12, 13 setobjectxyperm 4, 12, 13
setobjectmovementtype 4, MOVEMENT_TYPE_FACE_LEFT setobjectmovementtype 4, MOVEMENT_TYPE_FACE_LEFT
setflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS setflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS
return return
SlateportCity_Harbor_EventScript_20C9BB:: @ 820C9BB SlateportCity_Harbor_EventScript_AquaEscapeTrigger0:: @ 820C9BB
lockall lockall
setvar VAR_0x8008, 0 setvar VAR_0x8008, 0
goto SlateportCity_Harbor_EventScript_20C9F5 goto SlateportCity_Harbor_EventScript_AquaEscapeScene
end end
SlateportCity_Harbor_EventScript_20C9C7:: @ 820C9C7 SlateportCity_Harbor_EventScript_AquaEscapeTrigger1:: @ 820C9C7
lockall lockall
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
goto SlateportCity_Harbor_EventScript_20C9F5 goto SlateportCity_Harbor_EventScript_AquaEscapeScene
end end
SlateportCity_Harbor_EventScript_20C9D3:: @ 820C9D3 SlateportCity_Harbor_EventScript_AquaEscapeTrigger2:: @ 820C9D3
lockall lockall
setvar VAR_0x8008, 2 setvar VAR_0x8008, 2
goto SlateportCity_Harbor_EventScript_20C9F5 goto SlateportCity_Harbor_EventScript_AquaEscapeScene
end end
SlateportCity_Harbor_EventScript_20C9DF:: @ 820C9DF SlateportCity_Harbor_EventScript_AquaEscapeTrigger3:: @ 820C9DF
lockall lockall
setvar VAR_0x8008, 3 setvar VAR_0x8008, 3
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CAEF applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_PlayerWalkUp
waitmovement 0 waitmovement 0
goto SlateportCity_Harbor_EventScript_20C9F5 goto SlateportCity_Harbor_EventScript_AquaEscapeScene
end end
SlateportCity_Harbor_EventScript_20C9F5:: @ 820C9F5 SlateportCity_Harbor_EventScript_AquaEscapeScene:: @ 820C9F5
applymovement 7, Common_Movement_WalkInPlaceFastestDown applymovement 7, Common_Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
applymovement 6, Common_Movement_WalkInPlaceFastestDown applymovement 6, Common_Movement_WalkInPlaceFastestDown
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox SlateportCity_Harbor_Text_20D291, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_ArchieYouAgainHideoutInLilycove, MSGBOX_DEFAULT
closemessage closemessage
applymovement 6, SlateportCity_Harbor_Movement_20CAC8 applymovement 6, SlateportCity_Harbor_Movement_AquaBoardSub
applymovement 7, SlateportCity_Harbor_Movement_20CAC8 applymovement 7, SlateportCity_Harbor_Movement_AquaBoardSub
applymovement 8, SlateportCity_Harbor_Movement_20CAD2 applymovement 8, SlateportCity_Harbor_Movement_SubmarineExit
waitmovement 0 waitmovement 0
removeobject 6 removeobject 6
removeobject 7 removeobject 7
@@ -66,14 +66,14 @@ SlateportCity_Harbor_EventScript_20C9F5:: @ 820C9F5
setflag FLAG_MET_TEAM_AQUA_HARBOR setflag FLAG_MET_TEAM_AQUA_HARBOR
setflag FLAG_HIDE_LILCOVE_MOTEL_SCOTT setflag FLAG_HIDE_LILCOVE_MOTEL_SCOTT
compare VAR_0x8008, 0 compare VAR_0x8008, 0
call_if_eq SlateportCity_Harbor_EventScript_20CA89 call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer0
compare VAR_0x8008, 1 compare VAR_0x8008, 1
call_if_eq SlateportCity_Harbor_EventScript_20CA9E call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer1
compare VAR_0x8008, 2 compare VAR_0x8008, 2
call_if_eq SlateportCity_Harbor_EventScript_20CAB3 call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer
compare VAR_0x8008, 3 compare VAR_0x8008, 3
call_if_eq SlateportCity_Harbor_EventScript_20CAB3 call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer
msgbox SlateportCity_Harbor_Text_20D35A, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine, MSGBOX_DEFAULT
closemessage closemessage
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE
@@ -82,42 +82,43 @@ SlateportCity_Harbor_EventScript_20C9F5:: @ 820C9F5
releaseall releaseall
end end
SlateportCity_Harbor_EventScript_20CA89:: @ 820CA89 SlateportCity_Harbor_EventScript_SternApproachPlayer0:: @ 820CA89
applymovement 4, SlateportCity_Harbor_Movement_20CAE0 applymovement 4, SlateportCity_Harbor_Movement_SternApproachPlayer0
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
return return
SlateportCity_Harbor_EventScript_20CA9E:: @ 820CA9E SlateportCity_Harbor_EventScript_SternApproachPlayer1:: @ 820CA9E
applymovement 4, SlateportCity_Harbor_Movement_20CAE6 applymovement 4, SlateportCity_Harbor_Movement_SternApproachPlayer1
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
return return
SlateportCity_Harbor_EventScript_20CAB3:: @ 820CAB3 SlateportCity_Harbor_EventScript_SternApproachPlayer:: @ 820CAB3
applymovement 4, SlateportCity_Harbor_Movement_20CAEB applymovement 4, SlateportCity_Harbor_Movement_SternApproachPlayer
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
return return
SlateportCity_Harbor_Movement_20CAC8: @ 820CAC8 SlateportCity_Harbor_Movement_AquaBoardSub: @ 820CAC8
delay_16 delay_16
delay_16 delay_16
jump_up jump_up
set_invisible set_invisible
step_end step_end
SlateportCity_Harbor_Movement_20CACD: @ 820CACD @ Unused, Archie instead shares above identical movement script with Grunt
SlateportCity_Harbor_Movement_ArchieBoardSub: @ 820CACD
delay_16 delay_16
delay_16 delay_16
jump_up jump_up
set_invisible set_invisible
step_end step_end
SlateportCity_Harbor_Movement_20CAD2: @ 820CAD2 SlateportCity_Harbor_Movement_SubmarineExit: @ 820CAD2
delay_16 delay_16
delay_16 delay_16
delay_16 delay_16
@@ -133,7 +134,7 @@ SlateportCity_Harbor_Movement_20CAD2: @ 820CAD2
walk_fast_right walk_fast_right
step_end step_end
SlateportCity_Harbor_Movement_20CAE0: @ 820CAE0 SlateportCity_Harbor_Movement_SternApproachPlayer0: @ 820CAE0
walk_left walk_left
walk_left walk_left
walk_left walk_left
@@ -141,305 +142,305 @@ SlateportCity_Harbor_Movement_20CAE0: @ 820CAE0
walk_up walk_up
step_end step_end
SlateportCity_Harbor_Movement_20CAE6: @ 820CAE6 SlateportCity_Harbor_Movement_SternApproachPlayer1: @ 820CAE6
walk_left walk_left
walk_left walk_left
walk_up walk_up
walk_left walk_left
step_end step_end
SlateportCity_Harbor_Movement_20CAEB: @ 820CAEB SlateportCity_Harbor_Movement_SternApproachPlayer: @ 820CAEB
walk_left walk_left
walk_left walk_left
walk_left walk_left
step_end step_end
SlateportCity_Harbor_Movement_20CAEF: @ 820CAEF SlateportCity_Harbor_Movement_PlayerWalkUp: @ 820CAEF
walk_up walk_up
step_end step_end
SlateportCity_Harbor_EventScript_20CAF1:: @ 820CAF1 SlateportCity_Harbor_EventScript_FerryAttendant:: @ 820CAF1
lock lock
faceplayer faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CB06 goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_AskForTicket
msgbox SlateportCity_Harbor_Text_20CE20, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_FerryServiceUnavailable, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CB06:: @ 820CB06 SlateportCity_Harbor_EventScript_AskForTicket:: @ 820CB06
msgbox SlateportCity_Harbor_Text_20CE87, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_MayISeeYourTicket, MSGBOX_DEFAULT
message SlateportCity_Harbor_Text_20CF1C message SlateportCity_Harbor_Text_FlashedTicketWhereTo
waitmessage waitmessage
goto SlateportCity_Harbor_EventScript_20CB1A goto SlateportCity_Harbor_EventScript_ChooseDestination
end end
SlateportCity_Harbor_EventScript_20CB1A:: @ 820CB1A SlateportCity_Harbor_EventScript_ChooseDestination:: @ 820CB1A
goto_if_set FLAG_MET_SCOTT_ON_SS_TIDAL, SlateportCity_Harbor_EventScript_20CB50 goto_if_set FLAG_MET_SCOTT_ON_SS_TIDAL, SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier
multichoicedefault 18, 8, MULTI_SSTIDAL_SLATEPORT_NO_BF, 2, 0 multichoicedefault 18, 8, MULTI_SSTIDAL_SLATEPORT_NO_BF, 2, 0
switch VAR_RESULT switch VAR_RESULT
case 0, SlateportCity_Harbor_EventScript_20CB92 case 0, SlateportCity_Harbor_EventScript_Lilycove
case 1, SlateportCity_Harbor_EventScript_20CC2D case 1, SlateportCity_Harbor_EventScript_CancelDestinationSelect
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_20CC2D case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_CancelDestinationSelect
end end
SlateportCity_Harbor_EventScript_20CB50:: @ 820CB50 SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier:: @ 820CB50
multichoicedefault 17, 6, MULTI_SSTIDAL_SLATEPORT_WITH_BF, 2, 0 multichoicedefault 17, 6, MULTI_SSTIDAL_SLATEPORT_WITH_BF, 2, 0
switch VAR_RESULT switch VAR_RESULT
case 0, SlateportCity_Harbor_EventScript_20CB92 case 0, SlateportCity_Harbor_EventScript_Lilycove
case 1, SlateportCity_Harbor_EventScript_20CBBA case 1, SlateportCity_Harbor_EventScript_BattleFrontier
case 2, SlateportCity_Harbor_EventScript_20CC2D case 2, SlateportCity_Harbor_EventScript_CancelDestinationSelect
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_20CC2D case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_CancelDestinationSelect
end end
SlateportCity_Harbor_EventScript_20CB88:: @ 820CB88 @ Unused. Should be impossible for player to reach Ferry without having received SS Tidal ticket
msgbox SlateportCity_Harbor_Text_20CEC1, MSGBOX_DEFAULT SlateportCity_Harbor_EventScript_NoTicket:: @ 820CB88
msgbox SlateportCity_Harbor_Text_YouMustHaveTicket, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CB92:: @ 820CB92 SlateportCity_Harbor_EventScript_Lilycove:: @ 820CB92
msgbox SlateportCity_Harbor_Text_20CF93, MSGBOX_YESNO msgbox SlateportCity_Harbor_Text_LilycoveItIs, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD goto_if_eq SlateportCity_Harbor_EventScript_ChooseNewDestination
setvar VAR_PORTHOLE_STATE, 1 setvar VAR_PORTHOLE_STATE, 1
call SlateportCity_Harbor_EventScript_20CBE9 call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10 warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
waitstate waitstate
release release
end end
SlateportCity_Harbor_EventScript_20CBBA:: @ 820CBBA SlateportCity_Harbor_EventScript_BattleFrontier:: @ 820CBBA
msgbox SlateportCity_Harbor_Text_20CFAE, MSGBOX_YESNO msgbox SlateportCity_Harbor_Text_BattleFrontierItIs, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD goto_if_eq SlateportCity_Harbor_EventScript_ChooseNewDestination
call SlateportCity_Harbor_EventScript_20CBE9 call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67 warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
waitstate waitstate
release release
end end
SlateportCity_Harbor_EventScript_20CBDD:: @ 820CBDD SlateportCity_Harbor_EventScript_ChooseNewDestination:: @ 820CBDD
message SlateportCity_Harbor_Text_20CFFA message SlateportCity_Harbor_Text_WhereWouldYouLikeToGo
waitmessage waitmessage
goto SlateportCity_Harbor_EventScript_20CB1A goto SlateportCity_Harbor_EventScript_ChooseDestination
end end
SlateportCity_Harbor_EventScript_20CBE9:: @ 820CBE9 SlateportCity_Harbor_EventScript_BoardFerry:: @ 820CBE9
msgbox SlateportCity_Harbor_Text_20CFCB, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_PleaseBoardFerry, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestUp applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
delay 30 delay 30
hideobjectat VAR_LAST_TALKED, MAP_SLATEPORT_CITY_HARBOR hideobjectat VAR_LAST_TALKED, MAP_SLATEPORT_CITY_HARBOR
compare VAR_FACING, DIR_NORTH compare VAR_FACING, DIR_NORTH
call_if_eq SlateportCity_Harbor_EventScript_20CC42 call_if_eq SlateportCity_Harbor_EventScript_BoardFerryNorth
compare VAR_FACING, DIR_EAST compare VAR_FACING, DIR_EAST
call_if_eq SlateportCity_Harbor_EventScript_20CC37 call_if_eq SlateportCity_Harbor_EventScript_BoardFerryEast
delay 30 delay 30
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_PETALBURG_CITY hideobjectat EVENT_OBJ_ID_PLAYER, MAP_PETALBURG_CITY
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
call Common_EventScript_FerryDepart call Common_EventScript_FerryDepart
return return
SlateportCity_Harbor_EventScript_20CC2D:: @ 820CC2D SlateportCity_Harbor_EventScript_CancelDestinationSelect:: @ 820CC2D
msgbox SlateportCity_Harbor_Text_20CF71, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_SailAnotherTime, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CC37:: @ 820CC37 SlateportCity_Harbor_EventScript_BoardFerryEast:: @ 820CC37
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CC4D applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryEast
waitmovement 0 waitmovement 0
return return
SlateportCity_Harbor_EventScript_20CC42:: @ 820CC42 SlateportCity_Harbor_EventScript_BoardFerryNorth:: @ 820CC42
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CC50 applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryNorth
waitmovement 0 waitmovement 0
return return
SlateportCity_Harbor_Movement_20CC4D: @ 820CC4D SlateportCity_Harbor_Movement_BoardFerryEast: @ 820CC4D
walk_right walk_right
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
SlateportCity_Harbor_Movement_20CC50: @ 820CC50 SlateportCity_Harbor_Movement_BoardFerryNorth: @ 820CC50
walk_up walk_up
step_end step_end
SlateportCity_Harbor_EventScript_20CC52:: @ 820CC52 SlateportCity_Harbor_EventScript_Sailor:: @ 820CC52
lock lock
faceplayer faceplayer
goto_if_unset FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CC89 goto_if_unset FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
call_if_set FLAG_DEFEATED_KYOGRE, SlateportCity_Harbor_EventScript_20CC93 call_if_set FLAG_DEFEATED_KYOGRE, SlateportCity_Harbor_EventScript_CountDefeatedLegendary
call_if_set FLAG_DEFEATED_GROUDON, SlateportCity_Harbor_EventScript_20CC93 call_if_set FLAG_DEFEATED_GROUDON, SlateportCity_Harbor_EventScript_CountDefeatedLegendary
compare VAR_0x8004, 2 compare VAR_0x8004, 2 @ Defeated both
goto_if_eq SlateportCity_Harbor_EventScript_20CC89 goto_if_eq SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather
msgbox SlateportCity_Harbor_Text_20D08E, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_AbnormalWeather, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CC89:: @ 820CC89 SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather:: @ 820CC89
msgbox SlateportCity_Harbor_Text_20D01C, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CC93:: @ 820CC93 SlateportCity_Harbor_EventScript_CountDefeatedLegendary:: @ 820CC93
addvar VAR_0x8004, 1 addvar VAR_0x8004, 1
return return
SlateportCity_Harbor_EventScript_20CC99:: @ 820CC99 SlateportCity_Harbor_EventScript_FatMan:: @ 820CC99
msgbox SlateportCity_Harbor_Text_20D194, MSGBOX_NPC msgbox SlateportCity_Harbor_Text_SubTooSmallForMe, MSGBOX_NPC
end end
SlateportCity_Harbor_EventScript_20CCA2:: @ 820CCA2 SlateportCity_Harbor_EventScript_CaptStern:: @ 820CCA2
lock lock
faceplayer faceplayer
goto_if_set FLAG_BADGE07_GET, SlateportCity_Harbor_EventScript_20CD00 goto_if_set FLAG_BADGE07_GET, SlateportCity_Harbor_EventScript_CaptSternFerryOrScannerComment
goto_if_set FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE, SlateportCity_Harbor_EventScript_20CCF6 goto_if_set FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE, SlateportCity_Harbor_EventScript_NeedDive
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, SlateportCity_Harbor_EventScript_20CCE9 goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, SlateportCity_Harbor_EventScript_TeamAquaLeftNeedDive
compare VAR_SLATEPORT_HARBOR_STATE, 2 compare VAR_SLATEPORT_HARBOR_STATE, 2
goto_if_eq SlateportCity_Harbor_EventScript_20CCDF goto_if_eq SlateportCity_Harbor_EventScript_WhyStealSubmarine
msgbox SlateportCity_Harbor_Text_20D232, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_SameThugsTriedToRobAtMuseum, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
release release
end end
SlateportCity_Harbor_EventScript_20CCDF:: @ 820CCDF SlateportCity_Harbor_EventScript_WhyStealSubmarine:: @ 820CCDF
msgbox SlateportCity_Harbor_Text_20D35A, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CCE9:: @ 820CCE9 SlateportCity_Harbor_EventScript_TeamAquaLeftNeedDive:: @ 820CCE9
setflag FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE setflag FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE
msgbox SlateportCity_Harbor_Text_20D42B, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_TeamAquaLeftNeedDive, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CCF6:: @ 820CCF6 SlateportCity_Harbor_EventScript_NeedDive:: @ 820CCF6
msgbox SlateportCity_Harbor_Text_20D58A, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_NeedDiveToCatchSub, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CD00:: @ 820CD00 SlateportCity_Harbor_EventScript_CaptSternFerryOrScannerComment:: @ 820CD00
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
goto_if_eq SlateportCity_Harbor_EventScript_20CE11 goto_if_eq SlateportCity_Harbor_EventScript_TradedScanner
checkitem ITEM_SCANNER, 1 checkitem ITEM_SCANNER, 1
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq SlateportCity_Harbor_EventScript_20CD38 goto_if_eq SlateportCity_Harbor_EventScript_AskToTradeScanner
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CD2E goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_FerryFinished
msgbox SlateportCity_Harbor_Text_20D65C, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_WontBeLongBeforeWeFinishFerry, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CD2E:: @ 820CD2E SlateportCity_Harbor_EventScript_FerryFinished:: @ 820CD2E
msgbox SlateportCity_Harbor_Text_20D6CB, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_FinishedMakingFerry, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CD38:: @ 820CD38 SlateportCity_Harbor_EventScript_AskToTradeScanner:: @ 820CD38
message SlateportCity_Harbor_Text_20D76C message SlateportCity_Harbor_Text_WouldYouTradeScanner
waitmessage waitmessage
goto SlateportCity_Harbor_EventScript_20CD44 goto SlateportCity_Harbor_EventScript_ChooseScannerTrade
end end
SlateportCity_Harbor_EventScript_20CD44:: @ 820CD44 SlateportCity_Harbor_EventScript_ChooseScannerTrade:: @ 820CD44
multichoice 0, 0, MULTI_STERN_DEEPSEA, 0 multichoice 0, 0, MULTI_STERN_DEEPSEA, 0
switch VAR_RESULT switch VAR_RESULT
case 0, SlateportCity_Harbor_EventScript_20CD7B case 0, SlateportCity_Harbor_EventScript_DeepSeaTooth
case 1, SlateportCity_Harbor_EventScript_20CDBB case 1, SlateportCity_Harbor_EventScript_DeepSeaScale
case 2, SlateportCity_Harbor_EventScript_20CDFB case 2, SlateportCity_Harbor_EventScript_DeclineTrade
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_20CDFB case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_DeclineTrade
end end
SlateportCity_Harbor_EventScript_20CD7B:: @ 820CD7B SlateportCity_Harbor_EventScript_DeepSeaTooth:: @ 820CD7B
msgbox SlateportCity_Harbor_Text_20D8BC, MSGBOX_YESNO msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CE05 goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem_std ITEM_DEEP_SEA_TOOTH giveitem_std ITEM_DEEP_SEA_TOOTH
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
takeitem ITEM_SCANNER, 1 takeitem ITEM_SCANNER, 1
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
setflag FLAG_EXCHANGED_SCANNER setflag FLAG_EXCHANGED_SCANNER
goto SlateportCity_Harbor_EventScript_20CE11 goto SlateportCity_Harbor_EventScript_TradedScanner
end end
SlateportCity_Harbor_EventScript_20CDBB:: @ 820CDBB SlateportCity_Harbor_EventScript_DeepSeaScale:: @ 820CDBB
msgbox SlateportCity_Harbor_Text_20D8F1, MSGBOX_YESNO msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CE05 goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem_std ITEM_DEEP_SEA_SCALE giveitem_std ITEM_DEEP_SEA_SCALE
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
takeitem ITEM_SCANNER, 1 takeitem ITEM_SCANNER, 1
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
setflag FLAG_EXCHANGED_SCANNER setflag FLAG_EXCHANGED_SCANNER
goto SlateportCity_Harbor_EventScript_20CE11 goto SlateportCity_Harbor_EventScript_TradedScanner
end end
SlateportCity_Harbor_EventScript_20CDFB:: @ 820CDFB SlateportCity_Harbor_EventScript_DeclineTrade:: @ 820CDFB
msgbox SlateportCity_Harbor_Text_20D841, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_EventScript_20CE05:: @ 820CE05 SlateportCity_Harbor_EventScript_ChooseDifferentTrade:: @ 820CE05
message SlateportCity_Harbor_Text_20D926 message SlateportCity_Harbor_Text_WhichOneDoYouWant
waitmessage waitmessage
goto SlateportCity_Harbor_EventScript_20CD44 goto SlateportCity_Harbor_EventScript_ChooseScannerTrade
end end
SlateportCity_Harbor_EventScript_20CE11:: @ 820CE11 SlateportCity_Harbor_EventScript_TradedScanner:: @ 820CE11
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
msgbox SlateportCity_Harbor_Text_20D970, MSGBOX_DEFAULT msgbox SlateportCity_Harbor_Text_ThisWillHelpResearch, MSGBOX_DEFAULT
release release
end end
SlateportCity_Harbor_Text_20CE20: @ 820CE20 SlateportCity_Harbor_Text_FerryServiceUnavailable: @ 820CE20
.string "I beg your pardon?\n" .string "I beg your pardon?\n"
.string "You're looking for a ship?\p" .string "You're looking for a ship?\p"
.string "I'm sorry, the ferry service isn't\n" .string "I'm sorry, the ferry service isn't\n"
.string "available at present…$" .string "available at present…$"
SlateportCity_Harbor_Text_20CE87: @ 820CE87 SlateportCity_Harbor_Text_MayISeeYourTicket: @ 820CE87
.string "Hello, are you here for the ferry?\n" .string "Hello, are you here for the ferry?\n"
.string "May I see your TICKET?$" .string "May I see your TICKET?$"
SlateportCity_Harbor_Text_YouMustHaveTicket: @ 820CEC1
SlateportCity_Harbor_Text_20CEC1: @ 820CEC1
.string "{PLAYER} doesn't have the TICKET…\p" .string "{PLAYER} doesn't have the TICKET…\p"
.string "I'm terribly sorry.\p" .string "I'm terribly sorry.\p"
.string "You must have a TICKET to board\n" .string "You must have a TICKET to board\n"
.string "the ferry.$" .string "the ferry.$"
SlateportCity_Harbor_Text_20CF1C: @ 820CF1C SlateportCity_Harbor_Text_FlashedTicketWhereTo: @ 820CF1C
.string "{PLAYER} flashed the TICKET.\p" .string "{PLAYER} flashed the TICKET.\p"
.string "Perfect! That's all you need!\p" .string "Perfect! That's all you need!\p"
.string "And where would you like to go?$" .string "And where would you like to go?$"
SlateportCity_Harbor_Text_20CF71: @ 820CF71 SlateportCity_Harbor_Text_SailAnotherTime: @ 820CF71
.string "Please sail with us another time!$" .string "Please sail with us another time!$"
SlateportCity_Harbor_Text_20CF93: @ 820CF93 SlateportCity_Harbor_Text_LilycoveItIs: @ 820CF93
.string "LILYCOVE CITY it is, then!$" .string "LILYCOVE CITY it is, then!$"
SlateportCity_Harbor_Text_20CFAE: @ 820CFAE SlateportCity_Harbor_Text_BattleFrontierItIs: @ 820CFAE
.string "BATTLE FRONTIER it is, then!$" .string "BATTLE FRONTIER it is, then!$"
SlateportCity_Harbor_Text_20CFCB: @ 820CFCB SlateportCity_Harbor_Text_PleaseBoardFerry: @ 820CFCB
.string "Please board the ferry and wait for\n" .string "Please board the ferry and wait for\n"
.string "departure.$" .string "departure.$"
SlateportCity_Harbor_Text_20CFFA: @ 820CFFA SlateportCity_Harbor_Text_WhereWouldYouLikeToGo: @ 820CFFA
.string "Then, where would you like to go?$" .string "Then, where would you like to go?$"
SlateportCity_Harbor_Text_20D01C: @ 820D01C SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday: @ 820D01C
.string "A journey to the bottom of the sea…\n" .string "A journey to the bottom of the sea…\n"
.string "I wonder what it'd be like?\p" .string "I wonder what it'd be like?\p"
.string "I'd love to go deep underwater like\n" .string "I'd love to go deep underwater like\n"
.string "that someday.$" .string "that someday.$"
SlateportCity_Harbor_Text_20D08E: @ 820D08E SlateportCity_Harbor_Text_AbnormalWeather: @ 820D08E
.string "For a ship to sail safely, we need to\n" .string "For a ship to sail safely, we need to\n"
.string "know about the weather!\p" .string "know about the weather!\p"
.string "Speaking of weather, I heard something\n" .string "Speaking of weather, I heard something\n"
@@ -449,19 +450,19 @@ SlateportCity_Harbor_Text_20D08E: @ 820D08E
.string "You should visit the WEATHER INSTITUTE\n" .string "You should visit the WEATHER INSTITUTE\n"
.string "and ask around!$" .string "and ask around!$"
SlateportCity_Harbor_Text_20D194: @ 820D194 SlateportCity_Harbor_Text_SubTooSmallForMe: @ 820D194
.string "I wanted to go with CAPT. STERN on\n" .string "I wanted to go with CAPT. STERN on\n"
.string "the ocean floor exploration.\p" .string "the ocean floor exploration.\p"
.string "But the sub's too small for me.\p" .string "But the sub's too small for me.\p"
.string "If I squeezed in, there wouldn't be\n" .string "If I squeezed in, there wouldn't be\n"
.string "any room for the CAPTAIN…$" .string "any room for the CAPTAIN…$"
SlateportCity_Harbor_Text_20D232: @ 820D232 SlateportCity_Harbor_Text_SameThugsTriedToRobAtMuseum: @ 820D232
.string "CAPT. STERN: Those thugs…\p" .string "CAPT. STERN: Those thugs…\p"
.string "They're the same lot who tried to rob\n" .string "They're the same lot who tried to rob\n"
.string "the DEVON GOODS at the MUSEUM.$" .string "the DEVON GOODS at the MUSEUM.$"
SlateportCity_Harbor_Text_20D291: @ 820D291 SlateportCity_Harbor_Text_ArchieYouAgainHideoutInLilycove: @ 820D291
.string "ARCHIE: Oh?\n" .string "ARCHIE: Oh?\n"
.string "Not you again…\p" .string "Not you again…\p"
.string "You are tenacious to track us here,\n" .string "You are tenacious to track us here,\n"
@@ -472,7 +473,7 @@ SlateportCity_Harbor_Text_20D291: @ 820D291
.string "HIDEOUT in LILYCOVE CITY?\p" .string "HIDEOUT in LILYCOVE CITY?\p"
.string "Fwahahahaha…$" .string "Fwahahahaha…$"
SlateportCity_Harbor_Text_20D35A: @ 820D35A SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine: @ 820D35A
.string "CAPT. STERN: Why…\p" .string "CAPT. STERN: Why…\p"
.string "Why would TEAM AQUA steal my\n" .string "Why would TEAM AQUA steal my\n"
.string "SUBMARINE EXPLORER 1?\p" .string "SUBMARINE EXPLORER 1?\p"
@@ -481,7 +482,7 @@ SlateportCity_Harbor_Text_20D35A: @ 820D35A
.string "But even if I were to chase them,\n" .string "But even if I were to chase them,\n"
.string "I don't stand a chance against them…$" .string "I don't stand a chance against them…$"
SlateportCity_Harbor_Text_20D42B: @ 820D42B SlateportCity_Harbor_Text_TeamAquaLeftNeedDive: @ 820D42B
.string "CAPT. STERN: Oh, {PLAYER}{KUN}…\p" .string "CAPT. STERN: Oh, {PLAYER}{KUN}…\p"
.string "Okay… So TEAM AQUA left before you\n" .string "Okay… So TEAM AQUA left before you\n"
.string "could stop them…\p" .string "could stop them…\p"
@@ -496,7 +497,7 @@ SlateportCity_Harbor_Text_20D42B: @ 820D42B
.string "A lot of divers live out there, so\n" .string "A lot of divers live out there, so\n"
.string "someone might teach you…$" .string "someone might teach you…$"
SlateportCity_Harbor_Text_20D58A: @ 820D58A SlateportCity_Harbor_Text_NeedDiveToCatchSub: @ 820D58A
.string "CAPT. STERN: Trying to catch a\n" .string "CAPT. STERN: Trying to catch a\n"
.string "submarine… It's impossible.\p" .string "submarine… It's impossible.\p"
.string "You would need a POKéMON that knows\n" .string "You would need a POKéMON that knows\n"
@@ -506,13 +507,13 @@ SlateportCity_Harbor_Text_20D58A: @ 820D58A
.string "A lot of divers live out there, so\n" .string "A lot of divers live out there, so\n"
.string "someone might teach you…$" .string "someone might teach you…$"
SlateportCity_Harbor_Text_20D65C: @ 820D65C SlateportCity_Harbor_Text_WontBeLongBeforeWeFinishFerry: @ 820D65C
.string "CAPT. STERN: Oh, yes.\n" .string "CAPT. STERN: Oh, yes.\n"
.string "MR. BRINEY came to our SHIPYARD.\p" .string "MR. BRINEY came to our SHIPYARD.\p"
.string "It won't be long now before we finish\n" .string "It won't be long now before we finish\n"
.string "making the ferry!$" .string "making the ferry!$"
SlateportCity_Harbor_Text_20D6CB: @ 820D6CB SlateportCity_Harbor_Text_FinishedMakingFerry: @ 820D6CB
.string "CAPT. STERN: {PLAYER}{KUN}!\p" .string "CAPT. STERN: {PLAYER}{KUN}!\p"
.string "We finally finished making the ferry\n" .string "We finally finished making the ferry\n"
.string "S.S. TIDAL!\p" .string "S.S. TIDAL!\p"
@@ -520,7 +521,7 @@ SlateportCity_Harbor_Text_20D6CB: @ 820D6CB
.string "your friend MR. BRINEY.\p" .string "your friend MR. BRINEY.\p"
.string "Please go for a short cruise on it!$" .string "Please go for a short cruise on it!$"
SlateportCity_Harbor_Text_20D76C: @ 820D76C SlateportCity_Harbor_Text_WouldYouTradeScanner: @ 820D76C
.string "CAPT. STERN: Oh?\n" .string "CAPT. STERN: Oh?\n"
.string "{PLAYER}{KUN}, that item you have…\p" .string "{PLAYER}{KUN}, that item you have…\p"
.string "That's a SCANNER! That would sure\n" .string "That's a SCANNER! That would sure\n"
@@ -530,27 +531,27 @@ SlateportCity_Harbor_Text_20D76C: @ 820D76C
.string "Like, say, a DEEPSEATOOTH or\n" .string "Like, say, a DEEPSEATOOTH or\n"
.string "a DEEPSEASCALE that I have?$" .string "a DEEPSEASCALE that I have?$"
SlateportCity_Harbor_Text_20D841: @ 820D841 SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow: @ 820D841
.string "CAPT. STERN: Are you certain?\n" .string "CAPT. STERN: Are you certain?\n"
.string "It's useless to you, {PLAYER}{KUN}…\p" .string "It's useless to you, {PLAYER}{KUN}…\p"
.string "Well, okay, then. If you want to trade\n" .string "Well, okay, then. If you want to trade\n"
.string "your SCANNER, let me know.$" .string "your SCANNER, let me know.$"
SlateportCity_Harbor_Text_20D8BC: @ 820D8BC SlateportCity_Harbor_Text_TradeForDeepSeaTooth: @ 820D8BC
.string "CAPT. STERN: So you'll trade it for\n" .string "CAPT. STERN: So you'll trade it for\n"
.string "my DEEPSEATOOTH?$" .string "my DEEPSEATOOTH?$"
SlateportCity_Harbor_Text_20D8F1: @ 820D8F1 SlateportCity_Harbor_Text_TradeForDeepSeaScale: @ 820D8F1
.string "CAPT. STERN: So you'll trade it for\n" .string "CAPT. STERN: So you'll trade it for\n"
.string "my DEEPSEASCALE?$" .string "my DEEPSEASCALE?$"
SlateportCity_Harbor_Text_20D926: @ 820D926 SlateportCity_Harbor_Text_WhichOneDoYouWant: @ 820D926
.string "CAPT. STERN: Which one do you want?$" .string "CAPT. STERN: Which one do you want?$"
SlateportCity_Harbor_Text_20D94A: @ 820D94A SlateportCity_Harbor_Text_HandedScannerToStern: @ 820D94A
.string "{PLAYER} handed the SCANNER to\n" .string "{PLAYER} handed the SCANNER to\n"
.string "CAPT. STERN.$" .string "CAPT. STERN.$"
SlateportCity_Harbor_Text_20D970: @ 820D970 SlateportCity_Harbor_Text_ThisWillHelpResearch: @ 820D970
.string "CAPT. STERN: Thanks, {PLAYER}{KUN}!\n" .string "CAPT. STERN: Thanks, {PLAYER}{KUN}!\n"
.string "This will help our research a lot!$" .string "This will help our research a lot!$"
@@ -1,6 +1,6 @@
{ {
"id": "MAP_SLATEPORT_CITY_HOUSE2", "id": "MAP_SLATEPORT_CITY_HOUSE",
"name": "SlateportCity_House2", "name": "SlateportCity_House",
"layout": "LAYOUT_HOUSE2", "layout": "LAYOUT_HOUSE2",
"music": "MUS_FINECITY", "music": "MUS_FINECITY",
"region_map_section": "MAPSEC_SLATEPORT_CITY", "region_map_section": "MAPSEC_SLATEPORT_CITY",
@@ -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": "SlateportCity_House2_EventScript_20D9AF", "script": "SlateportCity_House_EventScript_PokefanM",
"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": "SlateportCity_House2_EventScript_20D9B8", "script": "SlateportCity_House_EventScript_Girl",
"flag": "0" "flag": "0"
} }
], ],
+23
View File
@@ -0,0 +1,23 @@
SlateportCity_House_MapScripts:: @ 820D9AE
.byte 0
SlateportCity_House_EventScript_PokefanM:: @ 820D9AF
msgbox SlateportCity_House_Text_NatureToDoWithStatGains, MSGBOX_NPC
end
SlateportCity_House_EventScript_Girl:: @ 820D9B8
msgbox SlateportCity_House_Text_MustBeGoingToBattleTent, MSGBOX_NPC
end
SlateportCity_House_Text_NatureToDoWithStatGains: @ 820D9C1
.string "My POKéMON has a HASTY nature.\p"
.string "It has higher SPEED compared to\n"
.string "my other POKéMON.\p"
.string "Maybe their nature has something to\n"
.string "do with the stat gains of POKéMON.$"
SlateportCity_House_Text_MustBeGoingToBattleTent: @ 820DA59
.string "You're a TRAINER, aren't you?\p"
.string "Since you came to SLATEPORT CITY,\n"
.string "you must be going to the BATTLE TENT.$"
-121
View File
@@ -1,121 +0,0 @@
SlateportCity_House1_MapScripts:: @ 8209AA4
.byte 0
SlateportCity_House1_EventScript_209AA5:: @ 8209AA5
lock
faceplayer
msgbox SlateportCity_House1_Text_209B8E, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SlateportCity_House1_EventScript_209AC6
compare VAR_RESULT, NO
goto_if_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209AC6:: @ 8209AC6
msgbox SlateportCity_House1_Text_209BFF, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
goto_if_ne SlateportCity_House1_EventScript_209AF3
compare VAR_0x8004, 255
goto_if_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209AE9:: @ 8209AE9
msgbox SlateportCity_House1_Text_209D42, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_209AF3:: @ 8209AF3
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
goto_if_eq SlateportCity_House1_EventScript_209B46
special TV_CopyNicknameToStringVar1AndEnsureTerminated
special TV_CheckMonOTIDEqualsPlayerID
compare VAR_RESULT, 1
goto_if_eq SlateportCity_House1_EventScript_209B50
specialvar VAR_RESULT, MonOTNameMatchesPlayer
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1
goto_if_eq SlateportCity_House1_EventScript_209B50
msgbox SlateportCity_House1_Text_209C2B, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SlateportCity_House1_EventScript_209B5A
compare VAR_RESULT, NO
goto_if_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209B46:: @ 8209B46
msgbox SlateportCity_House1_Text_209E74, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_209B50:: @ 8209B50
msgbox SlateportCity_House1_Text_209DF0, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_209B5A:: @ 8209B5A
msgbox SlateportCity_House1_Text_209CA4, MSGBOX_DEFAULT
call Common_EventScript_NameReceivedPartyMon
specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicknameChanged
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1
goto_if_eq SlateportCity_House1_EventScript_209B84
msgbox SlateportCity_House1_Text_209D5E, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_209B84:: @ 8209B84
msgbox SlateportCity_House1_Text_209CD4, MSGBOX_DEFAULT
release
end
SlateportCity_House1_Text_209B8E: @ 8209B8E
.string "Hi, hi! I'm the NAME RATER!\n"
.string "I'm the fortune-teller of names!\p"
.string "I shall be pleased to rate your\n"
.string "POKéMON's nickname.$"
SlateportCity_House1_Text_209BFF: @ 8209BFF
.string "Which POKéMON's nickname should\n"
.string "I critique?$"
SlateportCity_House1_Text_209C2B: @ 8209C2B
.string "Hmmm… {STR_VAR_1}, is it? That is\n"
.string "quite a fine name you bestowed.\p"
.string "But! What say you, if I were to\n"
.string "suggest a slightly better name?$"
SlateportCity_House1_Text_209CA4: @ 8209CA4
.string "Ah, good. Then, what shall the new\n"
.string "nickname be?$"
SlateportCity_House1_Text_209CD4: @ 8209CD4
.string "Done! From now on, this POKéMON\n"
.string "shall be known as {STR_VAR_1}!\p"
.string "It is a better name than before!\n"
.string "How fortunate for you!$"
SlateportCity_House1_Text_209D42: @ 8209D42
.string "I see.\n"
.string "Do come visit again.$"
SlateportCity_House1_Text_209D5E: @ 8209D5E
.string "Done! From now on, this POKéMON\n"
.string "shall be known as {STR_VAR_1}!\p"
.string "It looks no different from before,\n"
.string "and yet, this is vastly superior!\p"
.string "How fortunate for you!$"
SlateportCity_House1_Text_209DF0: @ 8209DF0
.string "Hmmm… {STR_VAR_1} it is!\p"
.string "This is a magnificent nickname!\n"
.string "It is impeccably beyond reproach!\p"
.string "You'll do well to cherish your\n"
.string "{STR_VAR_1} now and beyond.$"
SlateportCity_House1_Text_209E74: @ 8209E74
.string "Now, now.\n"
.string "That is merely an EGG!$"
@@ -1,23 +0,0 @@
SlateportCity_House2_MapScripts:: @ 820D9AE
.byte 0
SlateportCity_House2_EventScript_20D9AF:: @ 820D9AF
msgbox SlateportCity_House2_Text_20D9C1, MSGBOX_NPC
end
SlateportCity_House2_EventScript_20D9B8:: @ 820D9B8
msgbox SlateportCity_House2_Text_20DA59, MSGBOX_NPC
end
SlateportCity_House2_Text_20D9C1: @ 820D9C1
.string "My POKéMON has a HASTY nature.\p"
.string "It has higher SPEED compared to\n"
.string "my other POKéMON.\p"
.string "Maybe their nature has something to\n"
.string "do with the stat gains of POKéMON.$"
SlateportCity_House2_Text_20DA59: @ 820DA59
.string "You're a TRAINER, aren't you?\p"
.string "Since you came to SLATEPORT CITY,\n"
.string "you must be going to the BATTLE TENT.$"
@@ -1,6 +1,6 @@
{ {
"id": "MAP_SLATEPORT_CITY_HOUSE1", "id": "MAP_SLATEPORT_CITY_NAME_RATERS_HOUSE",
"name": "SlateportCity_House1", "name": "SlateportCity_NameRatersHouse",
"layout": "LAYOUT_HOUSE_WITH_BED", "layout": "LAYOUT_HOUSE_WITH_BED",
"music": "MUS_FINECITY", "music": "MUS_FINECITY",
"region_map_section": "MAPSEC_SLATEPORT_CITY", "region_map_section": "MAPSEC_SLATEPORT_CITY",
@@ -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": "SlateportCity_House1_EventScript_209AA5", "script": "SlateportCity_NameRatersHouse_EventScript_NameRater",
"flag": "0" "flag": "0"
} }
], ],
@@ -0,0 +1,121 @@
SlateportCity_NameRatersHouse_MapScripts:: @ 8209AA4
.byte 0
SlateportCity_NameRatersHouse_EventScript_NameRater:: @ 8209AA5
lock
faceplayer
msgbox SlateportCity_NameRatersHouse_Text_PleasedToRateMonNickname, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SlateportCity_NameRatersHouse_EventScript_ChooseMonToRate
compare VAR_RESULT, NO
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
end
SlateportCity_NameRatersHouse_EventScript_ChooseMonToRate:: @ 8209AC6
msgbox SlateportCity_NameRatersHouse_Text_CritiqueWhichMonNickname, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
goto_if_ne SlateportCity_NameRatersHouse_EventScript_RateMonNickname
compare VAR_0x8004, 255
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
end
SlateportCity_NameRatersHouse_EventScript_DeclineNameRate:: @ 8209AE9
msgbox SlateportCity_NameRatersHouse_Text_DoVisitAgain, MSGBOX_DEFAULT
release
end
SlateportCity_NameRatersHouse_EventScript_RateMonNickname:: @ 8209AF3
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
goto_if_eq SlateportCity_NameRatersHouse_EventScript_CantRateEgg
special BufferMonNickname
special IsMonOTIDNotPlayers
compare VAR_RESULT, TRUE
goto_if_eq SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
specialvar VAR_RESULT, MonOTNameNotPlayer
special BufferMonNickname
compare VAR_RESULT, TRUE
goto_if_eq SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
msgbox SlateportCity_NameRatersHouse_Text_FineNameSuggestBetterOne, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SlateportCity_NameRatersHouse_EventScript_ChangeNickname
compare VAR_RESULT, NO
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
end
SlateportCity_NameRatersHouse_EventScript_CantRateEgg:: @ 8209B46
msgbox SlateportCity_NameRatersHouse_Text_ThatIsMerelyAnEgg, MSGBOX_DEFAULT
release
end
SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT:: @ 8209B50
msgbox SlateportCity_NameRatersHouse_Text_MagnificentName, MSGBOX_DEFAULT
release
end
SlateportCity_NameRatersHouse_EventScript_ChangeNickname:: @ 8209B5A
msgbox SlateportCity_NameRatersHouse_Text_WhatShallNewNameBe, MSGBOX_DEFAULT
call Common_EventScript_NameReceivedPartyMon
specialvar VAR_RESULT, TryPutNameRaterShowOnTheAir
special BufferMonNickname
compare VAR_RESULT, TRUE
goto_if_eq SlateportCity_NameRatersHouse_EventScript_NewNameDifferent
msgbox SlateportCity_NameRatersHouse_Text_NameNoDifferentYetSuperior, MSGBOX_DEFAULT
release
end
SlateportCity_NameRatersHouse_EventScript_NewNameDifferent:: @ 8209B84
msgbox SlateportCity_NameRatersHouse_Text_MonShallBeKnownAsName, MSGBOX_DEFAULT
release
end
SlateportCity_NameRatersHouse_Text_PleasedToRateMonNickname: @ 8209B8E
.string "Hi, hi! I'm the NAME RATER!\n"
.string "I'm the fortune-teller of names!\p"
.string "I shall be pleased to rate your\n"
.string "POKéMON's nickname.$"
SlateportCity_NameRatersHouse_Text_CritiqueWhichMonNickname: @ 8209BFF
.string "Which POKéMON's nickname should\n"
.string "I critique?$"
SlateportCity_NameRatersHouse_Text_FineNameSuggestBetterOne: @ 8209C2B
.string "Hmmm… {STR_VAR_1}, is it? That is\n"
.string "quite a fine name you bestowed.\p"
.string "But! What say you, if I were to\n"
.string "suggest a slightly better name?$"
SlateportCity_NameRatersHouse_Text_WhatShallNewNameBe: @ 8209CA4
.string "Ah, good. Then, what shall the new\n"
.string "nickname be?$"
SlateportCity_NameRatersHouse_Text_MonShallBeKnownAsName: @ 8209CD4
.string "Done! From now on, this POKéMON\n"
.string "shall be known as {STR_VAR_1}!\p"
.string "It is a better name than before!\n"
.string "How fortunate for you!$"
SlateportCity_NameRatersHouse_Text_DoVisitAgain: @ 8209D42
.string "I see.\n"
.string "Do come visit again.$"
SlateportCity_NameRatersHouse_Text_NameNoDifferentYetSuperior: @ 8209D5E
.string "Done! From now on, this POKéMON\n"
.string "shall be known as {STR_VAR_1}!\p"
.string "It looks no different from before,\n"
.string "and yet, this is vastly superior!\p"
.string "How fortunate for you!$"
SlateportCity_NameRatersHouse_Text_MagnificentName: @ 8209DF0
.string "Hmmm… {STR_VAR_1} it is!\p"
.string "This is a magnificent nickname!\n"
.string "It is impeccably beyond reproach!\p"
.string "You'll do well to cherish your\n"
.string "{STR_VAR_1} now and beyond.$"
SlateportCity_NameRatersHouse_Text_ThatIsMerelyAnEgg: @ 8209E74
.string "Now, now.\n"
.string "That is merely an EGG!$"
@@ -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": "SlateportCity_PokemonFanClub_EventScript_20A1E8", "script": "SlateportCity_PokemonFanClub_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,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": "SlateportCity_PokemonFanClub_EventScript_20A1F1", "script": "SlateportCity_PokemonFanClub_EventScript_Twin",
"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": "SlateportCity_PokemonFanClub_EventScript_28C943", "script": "SlateportCity_PokemonFanClub_EventScript_Reporter",
"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": "SlateportCity_PokemonFanClub_EventScript_20A17E", "script": "SlateportCity_PokemonFanClub_EventScript_SootheBellWoman",
"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": "SlateportCity_PokemonFanClub_EventScript_209E96", "script": "SlateportCity_PokemonFanClub_EventScript_Chairman",
"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": "SlateportCity_PokemonFanClub_EventScript_20A20D", "script": "SlateportCity_PokemonFanClub_EventScript_Zigzagoon",
"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": "SlateportCity_PokemonFanClub_EventScript_20A1FA", "script": "SlateportCity_PokemonFanClub_EventScript_Skitty",
"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": "SlateportCity_PokemonFanClub_EventScript_20A220", "script": "SlateportCity_PokemonFanClub_EventScript_Azumarill",
"flag": "0" "flag": "0"
}, },
{ {
+134 -134
View File
@@ -1,272 +1,272 @@
SlateportCity_PokemonFanClub_MapScripts:: @ 8209E95 SlateportCity_PokemonFanClub_MapScripts:: @ 8209E95
.byte 0 .byte 0
SlateportCity_PokemonFanClub_EventScript_209E96:: @ 8209E96 SlateportCity_PokemonFanClub_EventScript_Chairman:: @ 8209E96
lock lock
faceplayer faceplayer
goto_if_unset FLAG_ENTERED_LINK_CONTEST, SlateportCity_PokemonFanClub_EventScript_20A152 goto_if_unset FLAG_ENTERED_LINK_CONTEST, SlateportCity_PokemonFanClub_EventScript_ChairmanNotEnteredContest
call_if_unset FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN, SlateportCity_PokemonFanClub_EventScript_20A172 call_if_unset FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN, SlateportCity_PokemonFanClub_EventScript_MeetChairman
switch VAR_SLATEPORT_FAN_CLUB_STATE switch VAR_SLATEPORT_FAN_CLUB_STATE
case 0, SlateportCity_PokemonFanClub_EventScript_209ED2 case 0, SlateportCity_PokemonFanClub_EventScript_ChairmanFirstAssessment
case 1, SlateportCity_PokemonFanClub_EventScript_209EE5 case 1, SlateportCity_PokemonFanClub_EventScript_ChairmanTryAssessPokemon
case 2, SlateportCity_PokemonFanClub_EventScript_209F3B case 2, SlateportCity_PokemonFanClub_EventScript_NoMoreScarves
release release
end end
SlateportCity_PokemonFanClub_EventScript_209ED2:: @ 8209ED2 SlateportCity_PokemonFanClub_EventScript_ChairmanFirstAssessment:: @ 8209ED2
setvar VAR_SLATEPORT_FAN_CLUB_STATE, 1 setvar VAR_SLATEPORT_FAN_CLUB_STATE, 1
msgbox SlateportCity_PokemonFanClub_Text_20A445, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_AllowMeToExamineYourPokemon, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_209F45 goto SlateportCity_PokemonFanClub_EventScript_ChairmanAssessLeadMon
end end
SlateportCity_PokemonFanClub_EventScript_209EE5:: @ 8209EE5 SlateportCity_PokemonFanClub_EventScript_ChairmanTryAssessPokemon:: @ 8209EE5
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
call_if_set FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_209FD0 call_if_set FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf
call_if_set FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_209FD0 call_if_set FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf
call_if_set FLAG_RECEIVED_PINK_SCARF, SlateportCity_PokemonFanClub_EventScript_209FD0 call_if_set FLAG_RECEIVED_PINK_SCARF, SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf
call_if_set FLAG_RECEIVED_BLUE_SCARF, SlateportCity_PokemonFanClub_EventScript_209FD0 call_if_set FLAG_RECEIVED_BLUE_SCARF, SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf
call_if_set FLAG_RECEIVED_RED_SCARF, SlateportCity_PokemonFanClub_EventScript_209FD0 call_if_set FLAG_RECEIVED_RED_SCARF, SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf
compare VAR_TEMP_2, 5 compare VAR_TEMP_2, CONTEST_CATEGORIES_COUNT
call_if_eq SlateportCity_PokemonFanClub_EventScript_209FCA call_if_eq SlateportCity_PokemonFanClub_EventScript_ReceivedAllScarves
compare VAR_SLATEPORT_FAN_CLUB_STATE, 2 compare VAR_SLATEPORT_FAN_CLUB_STATE, 2
goto_if_eq SlateportCity_PokemonFanClub_EventScript_209F3B goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoMoreScarves
msgbox SlateportCity_PokemonFanClub_Text_20A62A, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_HowIsYourPokemonGrowing, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_209F45 goto SlateportCity_PokemonFanClub_EventScript_ChairmanAssessLeadMon
end end
SlateportCity_PokemonFanClub_EventScript_209F3B:: @ 8209F3B SlateportCity_PokemonFanClub_EventScript_NoMoreScarves:: @ 8209F3B
msgbox SlateportCity_PokemonFanClub_Text_20A9E1, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_NothingElseToGiveYou, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_209F45:: @ 8209F45 SlateportCity_PokemonFanClub_EventScript_ChairmanAssessLeadMon:: @ 8209F45
msgbox SlateportCity_PokemonFanClub_Text_20A65F, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_HmHmISee, MSGBOX_DEFAULT
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
call_if_unset FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_20A13B call_if_unset FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_CheckMonTough
call_if_unset FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_20A124 call_if_unset FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_CheckMonSmart
call_if_unset FLAG_RECEIVED_PINK_SCARF, SlateportCity_PokemonFanClub_EventScript_20A10D call_if_unset FLAG_RECEIVED_PINK_SCARF, SlateportCity_PokemonFanClub_EventScript_CheckMonCute
call_if_unset FLAG_RECEIVED_BLUE_SCARF, SlateportCity_PokemonFanClub_EventScript_20A0F6 call_if_unset FLAG_RECEIVED_BLUE_SCARF, SlateportCity_PokemonFanClub_EventScript_CheckMonBeauty
call_if_unset FLAG_RECEIVED_RED_SCARF, SlateportCity_PokemonFanClub_EventScript_20A0DF call_if_unset FLAG_RECEIVED_RED_SCARF, SlateportCity_PokemonFanClub_EventScript_CheckMonCool
bufferleadmonspeciesname 0 bufferleadmonspeciesname 0
switch VAR_TEMP_1 switch VAR_TEMP_1
case 0, SlateportCity_PokemonFanClub_EventScript_209FD6 case 0, SlateportCity_PokemonFanClub_EventScript_NoHighConditions
case 1, SlateportCity_PokemonFanClub_EventScript_209FE0 case 1, SlateportCity_PokemonFanClub_EventScript_GiveRedScarf
case 2, SlateportCity_PokemonFanClub_EventScript_20A011 case 2, SlateportCity_PokemonFanClub_EventScript_GiveBlueScarf
case 3, SlateportCity_PokemonFanClub_EventScript_20A042 case 3, SlateportCity_PokemonFanClub_EventScript_GivePinkScarf
case 4, SlateportCity_PokemonFanClub_EventScript_20A073 case 4, SlateportCity_PokemonFanClub_EventScript_GiveGreenScarf
case 5, SlateportCity_PokemonFanClub_EventScript_20A0A4 case 5, SlateportCity_PokemonFanClub_EventScript_GiveYellowScarf
release release
end end
SlateportCity_PokemonFanClub_EventScript_209FCA:: @ 8209FCA SlateportCity_PokemonFanClub_EventScript_ReceivedAllScarves:: @ 8209FCA
setvar VAR_SLATEPORT_FAN_CLUB_STATE, 2 setvar VAR_SLATEPORT_FAN_CLUB_STATE, 2
return return
SlateportCity_PokemonFanClub_EventScript_209FD0:: @ 8209FD0 SlateportCity_PokemonFanClub_EventScript_CountReceivedScarf:: @ 8209FD0
addvar VAR_TEMP_2, 1 addvar VAR_TEMP_2, 1
return return
SlateportCity_PokemonFanClub_EventScript_209FD6:: @ 8209FD6 SlateportCity_PokemonFanClub_EventScript_NoHighConditions:: @ 8209FD6
msgbox SlateportCity_PokemonFanClub_Text_20A66E, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_GiveMonMorePokeblocks, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_209FE0:: @ 8209FE0 SlateportCity_PokemonFanClub_EventScript_GiveRedScarf:: @ 8209FE0
checkitemspace ITEM_RED_SCARF, 1 checkitemspace ITEM_RED_SCARF, 1
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_PokemonFanClub_EventScript_20A0D5 goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
msgbox SlateportCity_PokemonFanClub_Text_20A795, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_RED_SCARF setflag FLAG_RECEIVED_RED_SCARF
giveitem_std ITEM_RED_SCARF giveitem_std ITEM_RED_SCARF
msgbox SlateportCity_PokemonFanClub_Text_20A827, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ExplainRedScarf, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A011:: @ 820A011 SlateportCity_PokemonFanClub_EventScript_GiveBlueScarf:: @ 820A011
checkitemspace ITEM_BLUE_SCARF, 1 checkitemspace ITEM_BLUE_SCARF, 1
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_PokemonFanClub_EventScript_20A0D5 goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
msgbox SlateportCity_PokemonFanClub_Text_20A795, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_BLUE_SCARF setflag FLAG_RECEIVED_BLUE_SCARF
giveitem_std ITEM_BLUE_SCARF giveitem_std ITEM_BLUE_SCARF
msgbox SlateportCity_PokemonFanClub_Text_20A880, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ExplainBlueScarf, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A042:: @ 820A042 SlateportCity_PokemonFanClub_EventScript_GivePinkScarf:: @ 820A042
checkitemspace ITEM_PINK_SCARF, 1 checkitemspace ITEM_PINK_SCARF, 1
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_PokemonFanClub_EventScript_20A0D5 goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
msgbox SlateportCity_PokemonFanClub_Text_20A795, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_PINK_SCARF setflag FLAG_RECEIVED_PINK_SCARF
giveitem_std ITEM_PINK_SCARF giveitem_std ITEM_PINK_SCARF
msgbox SlateportCity_PokemonFanClub_Text_20A8D7, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ExplainPinkScarf, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A073:: @ 820A073 SlateportCity_PokemonFanClub_EventScript_GiveGreenScarf:: @ 820A073
checkitemspace ITEM_GREEN_SCARF, 1 checkitemspace ITEM_GREEN_SCARF, 1
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_PokemonFanClub_EventScript_20A0D5 goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
msgbox SlateportCity_PokemonFanClub_Text_20A795, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_GREEN_SCARF setflag FLAG_RECEIVED_GREEN_SCARF
giveitem_std ITEM_GREEN_SCARF giveitem_std ITEM_GREEN_SCARF
msgbox SlateportCity_PokemonFanClub_Text_20A933, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ExplainGreenScarf, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A0A4:: @ 820A0A4 SlateportCity_PokemonFanClub_EventScript_GiveYellowScarf:: @ 820A0A4
checkitemspace ITEM_YELLOW_SCARF, 1 checkitemspace ITEM_YELLOW_SCARF, 1
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_PokemonFanClub_EventScript_20A0D5 goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
msgbox SlateportCity_PokemonFanClub_Text_20A795, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_YELLOW_SCARF setflag FLAG_RECEIVED_YELLOW_SCARF
giveitem_std ITEM_YELLOW_SCARF giveitem_std ITEM_YELLOW_SCARF
msgbox SlateportCity_PokemonFanClub_Text_20A984, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ExplainYellowScarf, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A0D5:: @ 820A0D5 SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf:: @ 820A0D5
msgbox SlateportCity_PokemonFanClub_Text_20A719, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_NoSpaceForReward, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A0DF:: @ 820A0DF SlateportCity_PokemonFanClub_EventScript_CheckMonCool:: @ 820A0DF
specialvar VAR_RESULT, CheckLeadMonCool specialvar VAR_RESULT, CheckLeadMonCool
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
call_if_eq SlateportCity_PokemonFanClub_EventScript_20A0F0 call_if_eq SlateportCity_PokemonFanClub_EventScript_SetMonCool
return return
SlateportCity_PokemonFanClub_EventScript_20A0F0:: @ 820A0F0 SlateportCity_PokemonFanClub_EventScript_SetMonCool:: @ 820A0F0
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
return return
SlateportCity_PokemonFanClub_EventScript_20A0F6:: @ 820A0F6 SlateportCity_PokemonFanClub_EventScript_CheckMonBeauty:: @ 820A0F6
specialvar VAR_RESULT, CheckLeadMonBeauty specialvar VAR_RESULT, CheckLeadMonBeauty
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
call_if_eq SlateportCity_PokemonFanClub_EventScript_20A107 call_if_eq SlateportCity_PokemonFanClub_EventScript_SetMonBeauty
return return
SlateportCity_PokemonFanClub_EventScript_20A107:: @ 820A107 SlateportCity_PokemonFanClub_EventScript_SetMonBeauty:: @ 820A107
setvar VAR_TEMP_1, 2 setvar VAR_TEMP_1, 2
return return
SlateportCity_PokemonFanClub_EventScript_20A10D:: @ 820A10D SlateportCity_PokemonFanClub_EventScript_CheckMonCute:: @ 820A10D
specialvar VAR_RESULT, CheckLeadMonCute specialvar VAR_RESULT, CheckLeadMonCute
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
call_if_eq SlateportCity_PokemonFanClub_EventScript_20A11E call_if_eq SlateportCity_PokemonFanClub_EventScript_SetMonCute
return return
SlateportCity_PokemonFanClub_EventScript_20A11E:: @ 820A11E SlateportCity_PokemonFanClub_EventScript_SetMonCute:: @ 820A11E
setvar VAR_TEMP_1, 3 setvar VAR_TEMP_1, 3
return return
SlateportCity_PokemonFanClub_EventScript_20A124:: @ 820A124 SlateportCity_PokemonFanClub_EventScript_CheckMonSmart:: @ 820A124
specialvar VAR_RESULT, CheckLeadMonSmart specialvar VAR_RESULT, CheckLeadMonSmart
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
call_if_eq SlateportCity_PokemonFanClub_EventScript_20A135 call_if_eq SlateportCity_PokemonFanClub_EventScript_SetMonSmart
return return
SlateportCity_PokemonFanClub_EventScript_20A135:: @ 820A135 SlateportCity_PokemonFanClub_EventScript_SetMonSmart:: @ 820A135
setvar VAR_TEMP_1, 4 setvar VAR_TEMP_1, 4
return return
SlateportCity_PokemonFanClub_EventScript_20A13B:: @ 820A13B SlateportCity_PokemonFanClub_EventScript_CheckMonTough:: @ 820A13B
specialvar VAR_RESULT, CheckLeadMonTough specialvar VAR_RESULT, CheckLeadMonTough
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
call_if_eq SlateportCity_PokemonFanClub_EventScript_20A14C call_if_eq SlateportCity_PokemonFanClub_EventScript_SetMonTough
return return
SlateportCity_PokemonFanClub_EventScript_20A14C:: @ 820A14C SlateportCity_PokemonFanClub_EventScript_SetMonTough:: @ 820A14C
setvar VAR_TEMP_1, 5 setvar VAR_TEMP_1, 5
return return
SlateportCity_PokemonFanClub_EventScript_20A152:: @ 820A152 SlateportCity_PokemonFanClub_EventScript_ChairmanNotEnteredContest:: @ 820A152
goto_if_set FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN, SlateportCity_PokemonFanClub_EventScript_20A168 goto_if_set FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN, SlateportCity_PokemonFanClub_EventScript_ChairmanEnterContest
msgbox SlateportCity_PokemonFanClub_Text_20A233, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MeetChairman, MSGBOX_DEFAULT
setflag FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN setflag FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A168:: @ 820A168 SlateportCity_PokemonFanClub_EventScript_ChairmanEnterContest:: @ 820A168
msgbox SlateportCity_PokemonFanClub_Text_20A3EE, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_LikeToSeeEnteredContestPokemon, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A172:: @ 820A172 SlateportCity_PokemonFanClub_EventScript_MeetChairman:: @ 820A172
msgbox SlateportCity_PokemonFanClub_Text_20A233, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_MeetChairman, MSGBOX_DEFAULT
setflag FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN setflag FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN
return return
SlateportCity_PokemonFanClub_EventScript_20A17E:: @ 820A17E SlateportCity_PokemonFanClub_EventScript_SootheBellWoman:: @ 820A17E
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_20A1DE goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_ReceivedSootheBell
msgbox SlateportCity_PokemonFanClub_Text_20AA77, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_ShowMePokemonThatLoveYou, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetLeadMonFriendshipScore specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_if_ge SlateportCity_PokemonFanClub_EventScript_20A1A3 goto_if_ge SlateportCity_PokemonFanClub_EventScript_GiveSootheBell
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A1A3:: @ 820A1A3 SlateportCity_PokemonFanClub_EventScript_GiveSootheBell:: @ 820A1A3
playse SE_PIN playse SE_PIN
applymovement VAR_LAST_TALKED, Common_Movement_ExclamationMark applymovement VAR_LAST_TALKED, Common_Movement_ExclamationMark
waitmovement 0 waitmovement 0
applymovement VAR_LAST_TALKED, Common_Movement_Delay48 applymovement VAR_LAST_TALKED, Common_Movement_Delay48
waitmovement 0 waitmovement 0
msgbox SlateportCity_PokemonFanClub_Text_20AB63, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_PokemonAdoresYou, MSGBOX_DEFAULT
giveitem_std ITEM_SOOTHE_BELL giveitem_std ITEM_SOOTHE_BELL
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_SOOTHE_BELL setflag FLAG_RECEIVED_SOOTHE_BELL
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A1DE:: @ 820A1DE SlateportCity_PokemonFanClub_EventScript_ReceivedSootheBell:: @ 820A1DE
msgbox SlateportCity_PokemonFanClub_Text_20ABC4, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_TreatPokemonWithLove, MSGBOX_DEFAULT
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A1E8:: @ 820A1E8 SlateportCity_PokemonFanClub_EventScript_Man:: @ 820A1E8
msgbox SlateportCity_PokemonFanClub_Text_20AC47, MSGBOX_NPC msgbox SlateportCity_PokemonFanClub_Text_PokemonDontLikeFainting, MSGBOX_NPC
end end
SlateportCity_PokemonFanClub_EventScript_20A1F1:: @ 820A1F1 SlateportCity_PokemonFanClub_EventScript_Twin:: @ 820A1F1
msgbox SlateportCity_PokemonFanClub_Text_20ACF9, MSGBOX_NPC msgbox SlateportCity_PokemonFanClub_Text_MonEnjoyedProtein, MSGBOX_NPC
end end
SlateportCity_PokemonFanClub_EventScript_20A1FA:: @ 820A1FA SlateportCity_PokemonFanClub_EventScript_Skitty:: @ 820A1FA
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_SKITTY, 0 playmoncry SPECIES_SKITTY, 0
msgbox SlateportCity_PokemonFanClub_Text_20AD5A, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_Skitty, MSGBOX_DEFAULT
waitmoncry waitmoncry
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A20D:: @ 820A20D SlateportCity_PokemonFanClub_EventScript_Zigzagoon:: @ 820A20D
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_ZIGZAGOON, 0 playmoncry SPECIES_ZIGZAGOON, 0
msgbox SlateportCity_PokemonFanClub_Text_20AD6E, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry waitmoncry
release release
end end
SlateportCity_PokemonFanClub_EventScript_20A220:: @ 820A220 SlateportCity_PokemonFanClub_EventScript_Azumarill:: @ 820A220
lock lock
faceplayer faceplayer
waitse waitse
playmoncry SPECIES_AZUMARILL, 0 playmoncry SPECIES_AZUMARILL, 0
msgbox SlateportCity_PokemonFanClub_Text_20AD80, MSGBOX_DEFAULT msgbox SlateportCity_PokemonFanClub_Text_Azumarill, MSGBOX_DEFAULT
waitmoncry waitmoncry
release release
end end
SlateportCity_PokemonFanClub_Text_20A233: @ 820A233 SlateportCity_PokemonFanClub_Text_MeetChairman: @ 820A233
.string "Er-hem! I am the CHAIRMAN of the\n" .string "Er-hem! I am the CHAIRMAN of the\n"
.string "POKéMON FAN CLUB!\p" .string "POKéMON FAN CLUB!\p"
.string "Being the CHAIRMAN, I am naturally\n" .string "Being the CHAIRMAN, I am naturally\n"
@@ -283,12 +283,12 @@ SlateportCity_PokemonFanClub_Text_20A233: @ 820A233
.string "off our POKéMON, and have others\l" .string "off our POKéMON, and have others\l"
.string "show us theirs.$" .string "show us theirs.$"
SlateportCity_PokemonFanClub_Text_20A3EE: @ 820A3EE SlateportCity_PokemonFanClub_Text_LikeToSeeEnteredContestPokemon: @ 820A3EE
.string "The POKéMON of a TRAINER who has\n" .string "The POKéMON of a TRAINER who has\n"
.string "entered a POKéMON CONTEST…\l" .string "entered a POKéMON CONTEST…\l"
.string "That, I would like to see.$" .string "That, I would like to see.$"
SlateportCity_PokemonFanClub_Text_20A445: @ 820A445 SlateportCity_PokemonFanClub_Text_AllowMeToExamineYourPokemon: @ 820A445
.string "Er-hem! I see you've participated in\n" .string "Er-hem! I see you've participated in\n"
.string "a POKéMON CONTEST!\p" .string "a POKéMON CONTEST!\p"
.string "Please! Allow me to examine how you\n" .string "Please! Allow me to examine how you\n"
@@ -306,15 +306,15 @@ SlateportCity_PokemonFanClub_Text_20A445: @ 820A445
.string "Please! Allow me to examine how much\n" .string "Please! Allow me to examine how much\n"
.string "your POKéMON has grown!$" .string "your POKéMON has grown!$"
SlateportCity_PokemonFanClub_Text_20A62A: @ 820A62A SlateportCity_PokemonFanClub_Text_HowIsYourPokemonGrowing: @ 820A62A
.string "How is your POKéMON growing?\n" .string "How is your POKéMON growing?\n"
.string "Allow me to examine it.$" .string "Allow me to examine it.$"
SlateportCity_PokemonFanClub_Text_20A65F: @ 820A65F SlateportCity_PokemonFanClub_Text_HmHmISee: @ 820A65F
.string "Hm, hm…\n" .string "Hm, hm…\n"
.string "I see…$" .string "I see…$"
SlateportCity_PokemonFanClub_Text_20A66E: @ 820A66E SlateportCity_PokemonFanClub_Text_GiveMonMorePokeblocks: @ 820A66E
.string "Hmmm… It's not bad, but it's not\n" .string "Hmmm… It's not bad, but it's not\n"
.string "good, either…\p" .string "good, either…\p"
.string "You, the TRAINER, must put more\n" .string "You, the TRAINER, must put more\n"
@@ -322,53 +322,53 @@ SlateportCity_PokemonFanClub_Text_20A66E: @ 820A66E
.string "For instance, may I suggest that\n" .string "For instance, may I suggest that\n"
.string "you give it more {POKEBLOCK}S?$" .string "you give it more {POKEBLOCK}S?$"
SlateportCity_PokemonFanClub_Text_20A719: @ 820A719 SlateportCity_PokemonFanClub_Text_NoSpaceForReward: @ 820A719
.string "Oh, my…\p" .string "Oh, my…\p"
.string "Your POKéMON is growing quite well,\n" .string "Your POKéMON is growing quite well,\n"
.string "so you deserve a reward.\p" .string "so you deserve a reward.\p"
.string "Unfortunately, you have no space for\n" .string "Unfortunately, you have no space for\n"
.string "this in your BAG.$" .string "this in your BAG.$"
SlateportCity_PokemonFanClub_Text_20A795: @ 820A795 SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis: @ 820A795
.string "Your {STR_VAR_1}, it is growing in\n" .string "Your {STR_VAR_1}, it is growing in\n"
.string "a most impressive manner!\l" .string "a most impressive manner!\l"
.string "It is one fine specimen!\p" .string "It is one fine specimen!\p"
.string "But! If you were to give it this,\n" .string "But! If you were to give it this,\n"
.string "it would grow even better! Indeed!$" .string "it would grow even better! Indeed!$"
SlateportCity_PokemonFanClub_Text_20A827: @ 820A827 SlateportCity_PokemonFanClub_Text_ExplainRedScarf: @ 820A827
.string "Let a POKéMON hold that RED SCARF.\p" .string "Let a POKéMON hold that RED SCARF.\p"
.string "Everyone will recognize the coolness\n" .string "Everyone will recognize the coolness\n"
.string "of that POKéMON!$" .string "of that POKéMON!$"
SlateportCity_PokemonFanClub_Text_20A880: @ 820A880 SlateportCity_PokemonFanClub_Text_ExplainBlueScarf: @ 820A880
.string "Let a POKéMON hold that BLUE SCARF.\p" .string "Let a POKéMON hold that BLUE SCARF.\p"
.string "Its beauty will be accentuated much\n" .string "Its beauty will be accentuated much\n"
.string "more than now!$" .string "more than now!$"
SlateportCity_PokemonFanClub_Text_20A8D7: @ 820A8D7 SlateportCity_PokemonFanClub_Text_ExplainPinkScarf: @ 820A8D7
.string "Let a POKéMON hold that PINK SCARF.\p" .string "Let a POKéMON hold that PINK SCARF.\p"
.string "It will draw out the cuteness of\n" .string "It will draw out the cuteness of\n"
.string "the POKéMON some more!$" .string "the POKéMON some more!$"
SlateportCity_PokemonFanClub_Text_20A933: @ 820A933 SlateportCity_PokemonFanClub_Text_ExplainGreenScarf: @ 820A933
.string "Let a POKéMON hold that GREEN SCARF.\p" .string "Let a POKéMON hold that GREEN SCARF.\p"
.string "That will enhance the\n" .string "That will enhance the\n"
.string "smartness of POKéMON!$" .string "smartness of POKéMON!$"
SlateportCity_PokemonFanClub_Text_20A984: @ 820A984 SlateportCity_PokemonFanClub_Text_ExplainYellowScarf: @ 820A984
.string "Let a POKéMON hold that YELLOW SCARF.\p" .string "Let a POKéMON hold that YELLOW SCARF.\p"
.string "It will bolster your POKéMON's\n" .string "It will bolster your POKéMON's\n"
.string "toughness so much more!$" .string "toughness so much more!$"
SlateportCity_PokemonFanClub_Text_20A9E1: @ 820A9E1 SlateportCity_PokemonFanClub_Text_NothingElseToGiveYou: @ 820A9E1
.string "I'm sorry, but I've nothing else to\n" .string "I'm sorry, but I've nothing else to\n"
.string "give you! None at all!\p" .string "give you! None at all!\p"
.string "After all, you're blessed with the gift\n" .string "After all, you're blessed with the gift\n"
.string "of raising POKéMON without resorting\l" .string "of raising POKéMON without resorting\l"
.string "to any items!$" .string "to any items!$"
SlateportCity_PokemonFanClub_Text_20AA77: @ 820AA77 SlateportCity_PokemonFanClub_Text_ShowMePokemonThatLoveYou: @ 820AA77
.string "I love seeing POKéMON that love\n" .string "I love seeing POKéMON that love\n"
.string "their TRAINERS.\p" .string "their TRAINERS.\p"
.string "POKéMON are very sensitive to\n" .string "POKéMON are very sensitive to\n"
@@ -378,18 +378,18 @@ SlateportCity_PokemonFanClub_Text_20AA77: @ 820AA77
.string "When your POKéMON grow to love you,\n" .string "When your POKéMON grow to love you,\n"
.string "please come show me.$" .string "please come show me.$"
SlateportCity_PokemonFanClub_Text_20AB63: @ 820AB63 SlateportCity_PokemonFanClub_Text_PokemonAdoresYou: @ 820AB63
.string "Your POKéMON really adores you.\p" .string "Your POKéMON really adores you.\p"
.string "For you, a most compassionate\n" .string "For you, a most compassionate\n"
.string "TRAINER, a gift from the FAN CLUB!$" .string "TRAINER, a gift from the FAN CLUB!$"
SlateportCity_PokemonFanClub_Text_20ABC4: @ 820ABC4 SlateportCity_PokemonFanClub_Text_TreatPokemonWithLove: @ 820ABC4
.string "POKéMON are very sensitive to\n" .string "POKéMON are very sensitive to\n"
.string "the feelings of their TRAINERS.\p" .string "the feelings of their TRAINERS.\p"
.string "If you treat your POKéMON with love\n" .string "If you treat your POKéMON with love\n"
.string "and care, they'll love you back.$" .string "and care, they'll love you back.$"
SlateportCity_PokemonFanClub_Text_20AC47: @ 820AC47 SlateportCity_PokemonFanClub_Text_PokemonDontLikeFainting: @ 820AC47
.string "If you keep letting a POKéMON faint\n" .string "If you keep letting a POKéMON faint\n"
.string "in battle, it'll come to resent it.\p" .string "in battle, it'll come to resent it.\p"
.string "Soon, it will become less trusting\n" .string "Soon, it will become less trusting\n"
@@ -397,18 +397,18 @@ SlateportCity_PokemonFanClub_Text_20AC47: @ 820AC47
.string "In other words, it certainly won't\n" .string "In other words, it certainly won't\n"
.string "like you very much.$" .string "like you very much.$"
SlateportCity_PokemonFanClub_Text_20ACF9: @ 820ACF9 SlateportCity_PokemonFanClub_Text_MonEnjoyedProtein: @ 820ACF9
.string "Do POKéMON enjoy having items used\n" .string "Do POKéMON enjoy having items used\n"
.string "on them?\p" .string "on them?\p"
.string "Mine acted really happy when I gave\n" .string "Mine acted really happy when I gave\n"
.string "it some PROTEIN.$" .string "it some PROTEIN.$"
SlateportCity_PokemonFanClub_Text_20AD5A: @ 820AD5A SlateportCity_PokemonFanClub_Text_Skitty: @ 820AD5A
.string "SKITTY: Fffnyaaaah…$" .string "SKITTY: Fffnyaaaah…$"
SlateportCity_PokemonFanClub_Text_20AD6E: @ 820AD6E SlateportCity_PokemonFanClub_Text_Zigzagoon: @ 820AD6E
.string "ZIGZAGOON: Kyuuu…$" .string "ZIGZAGOON: Kyuuu…$"
SlateportCity_PokemonFanClub_Text_20AD80: @ 820AD80 SlateportCity_PokemonFanClub_Text_Azumarill: @ 820AD80
.string "AZUMARILL: Marimari?$" .string "AZUMARILL: Marimari?$"
@@ -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": "SlateportCity_SternsShipyard_1F_EventScript_207F40", "script": "SlateportCity_SternsShipyard_1F_EventScript_Dock",
"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": "SlateportCity_SternsShipyard_1F_EventScript_207FED", "script": "SlateportCity_SternsShipyard_1F_EventScript_Scientist1",
"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": "SlateportCity_SternsShipyard_1F_EventScript_207FF6", "script": "SlateportCity_SternsShipyard_1F_EventScript_Scientist2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_1F_EventScript_207FFF", "script": "SlateportCity_SternsShipyard_1F_EventScript_Briney",
"flag": "FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY" "flag": "FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY"
} }
], ],
@@ -1,16 +1,16 @@
SlateportCity_SternsShipyard_1F_MapScripts:: @ 8207F3F SlateportCity_SternsShipyard_1F_MapScripts:: @ 8207F3F
.byte 0 .byte 0
SlateportCity_SternsShipyard_1F_EventScript_207F40:: @ 8207F40 SlateportCity_SternsShipyard_1F_EventScript_Dock:: @ 8207F40
lockall lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_SternsShipyard_1F_EventScript_207F92 goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_SternsShipyard_1F_EventScript_FerryReady
goto_if_set FLAG_BADGE07_GET, SlateportCity_SternsShipyard_1F_EventScript_207FA6 goto_if_set FLAG_BADGE07_GET, SlateportCity_SternsShipyard_1F_EventScript_BrineyJoined
goto_if_set FLAG_DELIVERED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_207FD9 goto_if_set FLAG_DELIVERED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_NeedVeteran
goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_207FBA goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_GoFindStern
msgbox SlateportCity_SternsShipyard_1F_Text_208008, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_CantMakeHeadsOrTails, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer applymovement 1, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_2080A5, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_MeetDockDeliverToStern, MSGBOX_DEFAULT
closemessage closemessage
applymovement 1, Common_Movement_FaceOriginalDirection applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
@@ -19,50 +19,50 @@ SlateportCity_SternsShipyard_1F_EventScript_207F40:: @ 8207F40
releaseall releaseall
end end
SlateportCity_SternsShipyard_1F_EventScript_207F92:: @ 8207F92 SlateportCity_SternsShipyard_1F_EventScript_FerryReady:: @ 8207F92
applymovement 1, Common_Movement_FacePlayer applymovement 1, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_208323, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_FerryIsReady, MSGBOX_DEFAULT
releaseall releaseall
end end
SlateportCity_SternsShipyard_1F_EventScript_207FA6:: @ 8207FA6 SlateportCity_SternsShipyard_1F_EventScript_BrineyJoined:: @ 8207FA6
applymovement 1, Common_Movement_FacePlayer applymovement 1, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_2082A8, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_BrineyJoinedUs, MSGBOX_DEFAULT
releaseall releaseall
end end
SlateportCity_SternsShipyard_1F_EventScript_207FBA:: @ 8207FBA SlateportCity_SternsShipyard_1F_EventScript_GoFindStern:: @ 8207FBA
applymovement 1, Common_Movement_FacePlayer applymovement 1, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_2081A5, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_CouldYouFindStern, MSGBOX_DEFAULT
closemessage closemessage
applymovement 1, Common_Movement_FaceOriginalDirection applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
releaseall releaseall
end end
SlateportCity_SternsShipyard_1F_EventScript_207FD9:: @ 8207FD9 SlateportCity_SternsShipyard_1F_EventScript_NeedVeteran:: @ 8207FD9
applymovement 1, Common_Movement_FacePlayer applymovement 1, Common_Movement_FacePlayer
waitmovement 0 waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_208213, MSGBOX_DEFAULT msgbox SlateportCity_SternsShipyard_1F_Text_CouldUseAdviceFromVeteran, MSGBOX_DEFAULT
releaseall releaseall
end end
SlateportCity_SternsShipyard_1F_EventScript_207FED:: @ 8207FED SlateportCity_SternsShipyard_1F_EventScript_Scientist1:: @ 8207FED
msgbox SlateportCity_SternsShipyard_1F_Text_208558, MSGBOX_NPC msgbox SlateportCity_SternsShipyard_1F_Text_SeaIsLikeLivingThing, MSGBOX_NPC
end end
SlateportCity_SternsShipyard_1F_EventScript_207FF6:: @ 8207FF6 SlateportCity_SternsShipyard_1F_EventScript_Scientist2:: @ 8207FF6
msgbox SlateportCity_SternsShipyard_1F_Text_2085FF, MSGBOX_NPC msgbox SlateportCity_SternsShipyard_1F_Text_GetSeasickEasily, MSGBOX_NPC
end end
SlateportCity_SternsShipyard_1F_EventScript_207FFF:: @ 8207FFF SlateportCity_SternsShipyard_1F_EventScript_Briney:: @ 8207FFF
msgbox SlateportCity_SternsShipyard_1F_Text_2083EE, MSGBOX_NPC msgbox SlateportCity_SternsShipyard_1F_Text_DecidedToHelpDock, MSGBOX_NPC
end end
SlateportCity_SternsShipyard_1F_Text_208008: @ 8208008 SlateportCity_SternsShipyard_1F_Text_CantMakeHeadsOrTails: @ 8208008
.string "Umm… If this goes here, and that\n" .string "Umm… If this goes here, and that\n"
.string "goes over there…\p" .string "goes over there…\p"
.string "Then where does this thing go?\n" .string "Then where does this thing go?\n"
@@ -70,7 +70,7 @@ SlateportCity_SternsShipyard_1F_Text_208008: @ 8208008
.string "Aaargh! I can't make heads or tails\n" .string "Aaargh! I can't make heads or tails\n"
.string "of this!$" .string "of this!$"
SlateportCity_SternsShipyard_1F_Text_2080A5: @ 82080A5 SlateportCity_SternsShipyard_1F_Text_MeetDockDeliverToStern: @ 82080A5
.string "Hm?\n" .string "Hm?\n"
.string "Hi, I'm DOCK.\p" .string "Hi, I'm DOCK.\p"
.string "CAPT. STERN commissioned me to\n" .string "CAPT. STERN commissioned me to\n"
@@ -84,26 +84,26 @@ SlateportCity_SternsShipyard_1F_Text_2080A5: @ 82080A5
.string "Could I get you to go find CAPT.\n" .string "Could I get you to go find CAPT.\n"
.string "STERN and deliver that to him?$" .string "STERN and deliver that to him?$"
SlateportCity_SternsShipyard_1F_Text_2081A5: @ 82081A5 SlateportCity_SternsShipyard_1F_Text_CouldYouFindStern: @ 82081A5
.string "DOCK: Where could CAPT. STERN have\n" .string "DOCK: Where could CAPT. STERN have\n"
.string "gone off to?\p" .string "gone off to?\p"
.string "Could you go find CAPT. STERN and\n" .string "Could you go find CAPT. STERN and\n"
.string "deliver that parcel to him?$" .string "deliver that parcel to him?$"
SlateportCity_SternsShipyard_1F_Text_208213: @ 8208213 SlateportCity_SternsShipyard_1F_Text_CouldUseAdviceFromVeteran: @ 8208213
.string "DOCK: Shipbuilding is an art.\p" .string "DOCK: Shipbuilding is an art.\p"
.string "A lot of things can't be figured out\n" .string "A lot of things can't be figured out\n"
.string "just by calculating.\p" .string "just by calculating.\p"
.string "I really could use advice from a veteran\n" .string "I really could use advice from a veteran\n"
.string "who knows the seas…$" .string "who knows the seas…$"
SlateportCity_SternsShipyard_1F_Text_2082A8: @ 82082A8 SlateportCity_SternsShipyard_1F_Text_BrineyJoinedUs: @ 82082A8
.string "DOCK: Hi! MR. BRINEY's joined us to\n" .string "DOCK: Hi! MR. BRINEY's joined us to\n"
.string "lend us his help.\p" .string "lend us his help.\p"
.string "Thanks to the veteran sailor, the\n" .string "Thanks to the veteran sailor, the\n"
.string "ferry is steadily coming together.$" .string "ferry is steadily coming together.$"
SlateportCity_SternsShipyard_1F_Text_208323: @ 8208323 SlateportCity_SternsShipyard_1F_Text_FerryIsReady: @ 8208323
.string "DOCK: The ferry is finally ready!\p" .string "DOCK: The ferry is finally ready!\p"
.string "The new S.S. TIDAL is truly a marvel\n" .string "The new S.S. TIDAL is truly a marvel\n"
.string "of technology!\p" .string "of technology!\p"
@@ -112,7 +112,7 @@ SlateportCity_SternsShipyard_1F_Text_208323: @ 8208323
.string "You know, there's never an end to\n" .string "You know, there's never an end to\n"
.string "technology's march.$" .string "technology's march.$"
SlateportCity_SternsShipyard_1F_Text_2083EE: @ 82083EE SlateportCity_SternsShipyard_1F_Text_DecidedToHelpDock: @ 82083EE
.string "MR. BRINEY: Ah, {PLAYER}{KUN}!\n" .string "MR. BRINEY: Ah, {PLAYER}{KUN}!\n"
.string "It's been too long!\p" .string "It's been too long!\p"
.string "Aye, since I met you, this old sea dog's\n" .string "Aye, since I met you, this old sea dog's\n"
@@ -127,7 +127,7 @@ SlateportCity_SternsShipyard_1F_Text_2083EE: @ 82083EE
.string "my experience, I'm sure that we can\l" .string "my experience, I'm sure that we can\l"
.string "build one great ship, aye!$" .string "build one great ship, aye!$"
SlateportCity_SternsShipyard_1F_Text_208558: @ 8208558 SlateportCity_SternsShipyard_1F_Text_SeaIsLikeLivingThing: @ 8208558
.string "The seasons, the weather, where\n" .string "The seasons, the weather, where\n"
.string "the moon sits in the sky…\p" .string "the moon sits in the sky…\p"
.string "These and other conditions make\n" .string "These and other conditions make\n"
@@ -135,7 +135,7 @@ SlateportCity_SternsShipyard_1F_Text_208558: @ 8208558
.string "That's right!\n" .string "That's right!\n"
.string "The sea is like a living thing!$" .string "The sea is like a living thing!$"
SlateportCity_SternsShipyard_1F_Text_2085FF: @ 82085FF SlateportCity_SternsShipyard_1F_Text_GetSeasickEasily: @ 82085FF
.string "I get seasick real easily.\n" .string "I get seasick real easily.\n"
.string "So I get to help out here instead.$" .string "So I get to help out here instead.$"
@@ -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": "SlateportCity_SternsShipyard_2F_EventScript_20863E", "script": "SlateportCity_SternsShipyard_2F_EventScript_Scientist1",
"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": "SlateportCity_SternsShipyard_2F_EventScript_208647", "script": "SlateportCity_SternsShipyard_2F_EventScript_Scientist2",
"flag": "0" "flag": "0"
} }
], ],
@@ -1,20 +1,20 @@
SlateportCity_SternsShipyard_2F_MapScripts:: @ 820863D SlateportCity_SternsShipyard_2F_MapScripts:: @ 820863D
.byte 0 .byte 0
SlateportCity_SternsShipyard_2F_EventScript_20863E:: @ 820863E SlateportCity_SternsShipyard_2F_EventScript_Scientist1:: @ 820863E
msgbox SlateportCity_SternsShipyard_2F_Text_208650, MSGBOX_NPC msgbox SlateportCity_SternsShipyard_2F_Text_ShipDesignMoreLikeBuilding, MSGBOX_NPC
end end
SlateportCity_SternsShipyard_2F_EventScript_208647:: @ 8208647 SlateportCity_SternsShipyard_2F_EventScript_Scientist2:: @ 8208647
msgbox SlateportCity_SternsShipyard_2F_Text_2086BA, MSGBOX_NPC msgbox SlateportCity_SternsShipyard_2F_Text_FloatsBecauseBuoyancy, MSGBOX_NPC
end end
SlateportCity_SternsShipyard_2F_Text_208650: @ 8208650 SlateportCity_SternsShipyard_2F_Text_ShipDesignMoreLikeBuilding: @ 8208650
.string "Designing a large ship is more like\n" .string "Designing a large ship is more like\n"
.string "making a big building than putting\l" .string "making a big building than putting\l"
.string "together a transportation vehicle.$" .string "together a transportation vehicle.$"
SlateportCity_SternsShipyard_2F_Text_2086BA: @ 82086BA SlateportCity_SternsShipyard_2F_Text_FloatsBecauseBuoyancy: @ 82086BA
.string "Don't you think it's strange that\n" .string "Don't you think it's strange that\n"
.string "a ship made of heavy iron floats?\p" .string "a ship made of heavy iron floats?\p"
.string "It floats because of a principle\n" .string "It floats because of a principle\n"
+2 -2
View File
@@ -170,12 +170,12 @@
"SlateportCity_BattleTentLobby", "SlateportCity_BattleTentLobby",
"SlateportCity_BattleTentCorridor", "SlateportCity_BattleTentCorridor",
"SlateportCity_BattleTentBattleRoom", "SlateportCity_BattleTentBattleRoom",
"SlateportCity_House1", "SlateportCity_NameRatersHouse",
"SlateportCity_PokemonFanClub", "SlateportCity_PokemonFanClub",
"SlateportCity_OceanicMuseum_1F", "SlateportCity_OceanicMuseum_1F",
"SlateportCity_OceanicMuseum_2F", "SlateportCity_OceanicMuseum_2F",
"SlateportCity_Harbor", "SlateportCity_Harbor",
"SlateportCity_House2", "SlateportCity_House",
"SlateportCity_PokemonCenter_1F", "SlateportCity_PokemonCenter_1F",
"SlateportCity_PokemonCenter_2F", "SlateportCity_PokemonCenter_2F",
"SlateportCity_Mart" "SlateportCity_Mart"
+1 -1
View File
@@ -105,7 +105,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939
release release
end end
SlateportCity_PokemonFanClub_EventScript_28C943:: @ 828C943 SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943
lock lock
faceplayer faceplayer
specialvar VAR_RESULT, sub_80EF8F8 specialvar VAR_RESULT, sub_80EF8F8
+5 -5
View File
@@ -134,9 +134,9 @@ gSpecials:: @ 81DBA64
def_special CompareSeedotSize def_special CompareSeedotSize
def_special GetLotadSizeRecordInfo def_special GetLotadSizeRecordInfo
def_special CompareLotadSize def_special CompareLotadSize
def_special TV_PutNameRaterShowOnTheAirIfNicknameChanged def_special TryPutNameRaterShowOnTheAir
def_special TV_CopyNicknameToStringVar1AndEnsureTerminated def_special BufferMonNickname
def_special TV_CheckMonOTIDEqualsPlayerID def_special IsMonOTIDNotPlayers
def_special BufferTrendyPhraseString def_special BufferTrendyPhraseString
def_special TrendyPhraseIsOld def_special TrendyPhraseIsOld
def_special sub_811EF6C def_special sub_811EF6C
@@ -346,7 +346,7 @@ gSpecials:: @ 81DBA64
def_special SetPacifidlogTMReceivedDay def_special SetPacifidlogTMReceivedDay
def_special GetDaysUntilPacifidlogTMAvailable def_special GetDaysUntilPacifidlogTMAvailable
def_special HasAllHoennMons def_special HasAllHoennMons
def_special MonOTNameMatchesPlayer def_special MonOTNameNotPlayer
def_special BufferLottoTicketNumber def_special BufferLottoTicketNumber
def_special sub_81653CC def_special sub_81653CC
def_special DoesPartyHaveEnigmaBerry def_special DoesPartyHaveEnigmaBerry
@@ -519,7 +519,7 @@ gSpecials:: @ 81DBA64
def_special Script_DoRayquazaScene @ Listed twice def_special Script_DoRayquazaScene @ Listed twice
def_special LoopWingFlapSE def_special LoopWingFlapSE
def_special sub_81D4BEC def_special sub_81D4BEC
def_special sub_80224D0 def_special ShowBerryCrushRankings
def_special TryBufferWaldaPhrase def_special TryBufferWaldaPhrase
def_special DoWaldaNamingScreen def_special DoWaldaNamingScreen
def_special TryGetWallpaperWithWaldaPhrase def_special TryGetWallpaperWithWaldaPhrase
+2 -2
View File
@@ -136,12 +136,12 @@
#define MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY (2 | (9 << 8)) #define MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY (2 | (9 << 8))
#define MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR (3 | (9 << 8)) #define MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR (3 | (9 << 8))
#define MAP_SLATEPORT_CITY_BATTLE_TENT_BATTLE_ROOM (4 | (9 << 8)) #define MAP_SLATEPORT_CITY_BATTLE_TENT_BATTLE_ROOM (4 | (9 << 8))
#define MAP_SLATEPORT_CITY_HOUSE1 (5 | (9 << 8)) #define MAP_SLATEPORT_CITY_NAME_RATERS_HOUSE (5 | (9 << 8))
#define MAP_SLATEPORT_CITY_POKEMON_FAN_CLUB (6 | (9 << 8)) #define MAP_SLATEPORT_CITY_POKEMON_FAN_CLUB (6 | (9 << 8))
#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F (7 | (9 << 8)) #define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F (7 | (9 << 8))
#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_2F (8 | (9 << 8)) #define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_2F (8 | (9 << 8))
#define MAP_SLATEPORT_CITY_HARBOR (9 | (9 << 8)) #define MAP_SLATEPORT_CITY_HARBOR (9 | (9 << 8))
#define MAP_SLATEPORT_CITY_HOUSE2 (10 | (9 << 8)) #define MAP_SLATEPORT_CITY_HOUSE (10 | (9 << 8))
#define MAP_SLATEPORT_CITY_POKEMON_CENTER_1F (11 | (9 << 8)) #define MAP_SLATEPORT_CITY_POKEMON_CENTER_1F (11 | (9 << 8))
#define MAP_SLATEPORT_CITY_POKEMON_CENTER_2F (12 | (9 << 8)) #define MAP_SLATEPORT_CITY_POKEMON_CENTER_2F (12 | (9 << 8))
#define MAP_SLATEPORT_CITY_MART (13 | (9 << 8)) #define MAP_SLATEPORT_CITY_MART (13 | (9 << 8))
+4 -6
View File
@@ -1609,18 +1609,16 @@ u16 SetPacifidlogTMReceivedDay(void)
return gLocalTime.days; return gLocalTime.days;
} }
bool8 MonOTNameMatchesPlayer(void) bool8 MonOTNameNotPlayer(void)
{ {
if (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_LANGUAGE) != GAME_LANGUAGE) if (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_LANGUAGE) != GAME_LANGUAGE)
{ return TRUE;
return TRUE; // huh?
}
GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_OT_NAME, gStringVar1); GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_OT_NAME, gStringVar1);
if (!StringCompare(gSaveBlock2Ptr->playerName, gStringVar1)) if (!StringCompare(gSaveBlock2Ptr->playerName, gStringVar1))
{
return FALSE; return FALSE;
}
return TRUE; return TRUE;
} }
+6 -9
View File
@@ -3436,13 +3436,14 @@ bool8 TV_IsScriptShowKindAlreadyInQueue(void)
return FALSE; return FALSE;
} }
bool8 TV_PutNameRaterShowOnTheAirIfNicknameChanged(void) bool8 TryPutNameRaterShowOnTheAir(void)
{ {
GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar1); GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar1);
// Nickname wasnt changed
if (!StringCompare(gStringVar3, gStringVar1)) if (!StringCompare(gStringVar3, gStringVar1))
{
return FALSE; return FALSE;
}
PutNameRaterShowOnTheAir(); PutNameRaterShowOnTheAir();
return TRUE; return TRUE;
} }
@@ -3478,22 +3479,18 @@ void ChangeBoxPokemonNickname_CB(void)
CB2_ReturnToFieldContinueScriptPlayMapMusic(); CB2_ReturnToFieldContinueScriptPlayMapMusic();
} }
void TV_CopyNicknameToStringVar1AndEnsureTerminated(void) void BufferMonNickname(void)
{ {
GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar1); GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar1);
StringGetEnd10(gStringVar1); StringGetEnd10(gStringVar1);
} }
void TV_CheckMonOTIDEqualsPlayerID(void) void IsMonOTIDNotPlayers(void)
{ {
if (GetPlayerIDAsU32() == GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_OT_ID, NULL)) if (GetPlayerIDAsU32() == GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_OT_ID, NULL))
{
gSpecialVar_Result = FALSE; gSpecialVar_Result = FALSE;
}
else else
{
gSpecialVar_Result = TRUE; gSpecialVar_Result = TRUE;
}
} }
u8 GetTVChannelByShowType(u8 kind) u8 GetTVChannelByShowType(u8 kind)