Document Sootopolis scripts

This commit is contained in:
GriffinR
2019-11-09 20:40:41 -05:00
committed by huderlem
parent a3ee92a4e7
commit 6c863f6724
22 changed files with 656 additions and 644 deletions

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E5E8D",
"script": "SootopolisCity_EventScript_CaveOfOriginExpert",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E5FE2",
"script": "SootopolisCity_EventScript_Woman2",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E5ED8",
"script": "SootopolisCity_EventScript_Kiri",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E608E",
"script": "SootopolisCity_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E60E3",
"script": "SootopolisCity_EventScript_Boy1",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6017",
"script": "SootopolisCity_EventScript_Man",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_MAN_1"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6166",
"script": "SootopolisCity_EventScript_Steven",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6038",
"script": "SootopolisCity_EventScript_Woman1",
"flag": "0"
},
{
@@ -167,7 +167,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6411",
"script": "SootopolisCity_EventScript_Maniac",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS"
},
{
@@ -180,7 +180,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E63DB",
"script": "SootopolisCity_EventScript_Girl",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS"
},
{
@@ -193,7 +193,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6393",
"script": "SootopolisCity_EventScript_BlackBelt",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS"
},
{
@@ -206,7 +206,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E635D",
"script": "SootopolisCity_EventScript_Boy2",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS"
},
{
@@ -219,7 +219,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E64F2",
"script": "SootopolisCity_EventScript_Maxie",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_MAXIE"
},
{
@@ -232,7 +232,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E651F",
"script": "SootopolisCity_EventScript_Archie",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_ARCHIE"
},
{
@@ -245,7 +245,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_1E6446",
"script": "SootopolisCity_EventScript_Wallace",
"flag": "FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE"
}
],
@@ -350,7 +350,7 @@
"y": 34,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SootopolisCity_EventScript_1E614B"
"script": "SootopolisCity_EventScript_GymSign"
},
{
"type": "sign",
@@ -390,7 +390,7 @@
"y": 37,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SootopolisCity_EventScript_1E6154"
"script": "SootopolisCity_EventScript_CitySign"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House1_EventScript_22694D",
"script": "SootopolisCity_House1_EventScript_BrickBreakBlackBelt",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House1_EventScript_22698E",
"script": "SootopolisCity_House1_EventScript_Kecleon",
"flag": "0"
}
],

View File

@@ -1,44 +1,44 @@
SootopolisCity_House1_MapScripts:: @ 822694C
.byte 0
SootopolisCity_House1_EventScript_22694D:: @ 822694D
SootopolisCity_House1_EventScript_BrickBreakBlackBelt:: @ 822694D
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_226984
msgbox SootopolisCity_House1_Text_2269A1, MSGBOX_DEFAULT
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
giveitem_std ITEM_TM31
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM31
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_226984:: @ 8226984
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
SootopolisCity_House1_EventScript_ReceivedBrickBreak:: @ 8226984
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_22698E:: @ 822698E
SootopolisCity_House1_EventScript_Kecleon:: @ 822698E
lock
faceplayer
waitse
playmoncry SPECIES_KECLEON, 0
msgbox SootopolisCity_House1_Text_226A60, MSGBOX_DEFAULT
msgbox SootopolisCity_House1_Text_Kecleon, MSGBOX_DEFAULT
waitmoncry
release
end
SootopolisCity_House1_Text_2269A1: @ 82269A1
SootopolisCity_House1_Text_DevelopedThisTM: @ 82269A1
.string "For thirty years I've remained in\n"
.string "SOOTOPOLIS honing my skills.\p"
.string "I developed a shattering TM.\n"
.string "I bequeath it to you!$"
SootopolisCity_House1_Text_226A13: @ 8226A13
SootopolisCity_House1_Text_ExplainBrickBreak: @ 8226A13
.string "TM31 contains BRICK BREAK! It's a move\n"
.string "so horrible that I can't describe it.$"
SootopolisCity_House1_Text_226A60: @ 8226A60
SootopolisCity_House1_Text_Kecleon: @ 8226A60
.string "KECLEON: Puu puhyaah.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House2_EventScript_226A77",
"script": "SootopolisCity_House2_EventScript_ExpertF",
"flag": "0"
}
],

View File

@@ -1,36 +1,36 @@
SootopolisCity_House2_MapScripts:: @ 8226A76
.byte 0
SootopolisCity_House2_EventScript_226A77:: @ 8226A77
SootopolisCity_House2_EventScript_ExpertF:: @ 8226A77
lock
faceplayer
msgbox SootopolisCity_House2_Text_226AAB, MSGBOX_YESNO
msgbox SootopolisCity_House2_Text_DidYouKnowAboutMtPyreOrbs, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq SootopolisCity_House2_EventScript_226A99
call_if_eq SootopolisCity_House2_EventScript_KnowAboutOrbs
compare VAR_RESULT, NO
call_if_eq SootopolisCity_House2_EventScript_226AA2
call_if_eq SootopolisCity_House2_EventScript_DontKnowAboutOrbs
release
end
SootopolisCity_House2_EventScript_226A99:: @ 8226A99
msgbox SootopolisCity_House2_Text_226AF1, MSGBOX_DEFAULT
SootopolisCity_House2_EventScript_KnowAboutOrbs:: @ 8226A99
msgbox SootopolisCity_House2_Text_YesTwoOrbsSideBySide, MSGBOX_DEFAULT
return
SootopolisCity_House2_EventScript_226AA2:: @ 8226AA2
msgbox SootopolisCity_House2_Text_226B41, MSGBOX_DEFAULT
SootopolisCity_House2_EventScript_DontKnowAboutOrbs:: @ 8226AA2
msgbox SootopolisCity_House2_Text_OughtToVisitAndSee, MSGBOX_DEFAULT
return
SootopolisCity_House2_Text_226AAB: @ 8226AAB
SootopolisCity_House2_Text_DidYouKnowAboutMtPyreOrbs: @ 8226AAB
.string "MT. PYRE…\p"
.string "At its peak are two orbs placed side\n"
.string "by side. Did you know?$"
SootopolisCity_House2_Text_226AF1: @ 8226AF1
SootopolisCity_House2_Text_YesTwoOrbsSideBySide: @ 8226AF1
.string "Yes, two orbs side by side…\p"
.string "The sight of them together…\n"
.string "It is somehow soothing…$"
SootopolisCity_House2_Text_226B41: @ 8226B41
SootopolisCity_House2_Text_OughtToVisitAndSee: @ 8226B41
.string "Is that so?\n"
.string "Perhaps you ought to visit and see…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House3_EventScript_226B72",
"script": "SootopolisCity_House3_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House3_EventScript_226B9B",
"script": "SootopolisCity_House3_EventScript_Girl",
"flag": "0"
}
],

View File

@@ -1,41 +1,41 @@
SootopolisCity_House3_MapScripts:: @ 8226B71
.byte 0
SootopolisCity_House3_EventScript_226B72:: @ 8226B72
SootopolisCity_House3_EventScript_Woman:: @ 8226B72
lock
faceplayer
msgbox SootopolisCity_House3_Text_226BA4, MSGBOX_YESNO
msgbox SootopolisCity_House3_Text_JuanHasManyFansDoYou, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SootopolisCity_House3_EventScript_226B91
msgbox SootopolisCity_House3_Text_226C44, MSGBOX_DEFAULT
goto_if_eq SootopolisCity_House3_EventScript_HaveFans
msgbox SootopolisCity_House3_Text_LonesomeTryWorkingHarder, MSGBOX_DEFAULT
release
end
SootopolisCity_House3_EventScript_226B91:: @ 8226B91
msgbox SootopolisCity_House3_Text_226C20, MSGBOX_DEFAULT
SootopolisCity_House3_EventScript_HaveFans:: @ 8226B91
msgbox SootopolisCity_House3_Text_YouMustBePrettyStrong, MSGBOX_DEFAULT
release
end
SootopolisCity_House3_EventScript_226B9B:: @ 8226B9B
msgbox SootopolisCity_House3_Text_226C9C, MSGBOX_NPC
SootopolisCity_House3_EventScript_Girl:: @ 8226B9B
msgbox SootopolisCity_House3_Text_TrainerFanClubWasWild, MSGBOX_NPC
end
SootopolisCity_House3_Text_226BA4: @ 8226BA4
SootopolisCity_House3_Text_JuanHasManyFansDoYou: @ 8226BA4
.string "You're a POKéMON TRAINER, aren't you?\p"
.string "SOOTOPOLIS's JUAN has many fans.\n"
.string "Even more than his student WALLACE!\p"
.string "Do you have any?$"
SootopolisCity_House3_Text_226C20: @ 8226C20
SootopolisCity_House3_Text_YouMustBePrettyStrong: @ 8226C20
.string "Oh, then you must be pretty strong.$"
SootopolisCity_House3_Text_226C44: @ 8226C44
SootopolisCity_House3_Text_LonesomeTryWorkingHarder: @ 8226C44
.string "Oh, dear…\n"
.string "That's a little lonesome.\p"
.string "Try working a little harder to get\n"
.string "a fan following.$"
SootopolisCity_House3_Text_226C9C: @ 8226C9C
SootopolisCity_House3_Text_TrainerFanClubWasWild: @ 8226C9C
.string "Dedicated fans come over from even\n"
.string "outside of HOENN.\p"
.string "It was really wild when I went to the\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_226D16",
"script": "SootopolisCity_House4_EventScript_Man",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_226D1F",
"script": "SootopolisCity_House4_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_226D28",
"script": "SootopolisCity_House4_EventScript_Azumarill",
"flag": "0"
}
],

View File

@@ -1,25 +1,25 @@
SootopolisCity_House4_MapScripts:: @ 8226D15
.byte 0
SootopolisCity_House4_EventScript_226D16:: @ 8226D16
msgbox SootopolisCity_House4_Text_226D3B, MSGBOX_NPC
SootopolisCity_House4_EventScript_Man:: @ 8226D16
msgbox SootopolisCity_House4_Text_AncientTreasuresWaitingInSea, MSGBOX_NPC
end
SootopolisCity_House4_EventScript_226D1F:: @ 8226D1F
msgbox SootopolisCity_House4_Text_226DEA, MSGBOX_NPC
SootopolisCity_House4_EventScript_Woman:: @ 8226D1F
msgbox SootopolisCity_House4_Text_StrollUnderwaterWithPokemon, MSGBOX_NPC
end
SootopolisCity_House4_EventScript_226D28:: @ 8226D28
SootopolisCity_House4_EventScript_Azumarill:: @ 8226D28
lock
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
msgbox SootopolisCity_House4_Text_226E7F, MSGBOX_DEFAULT
msgbox SootopolisCity_House4_Text_Azumarill, MSGBOX_DEFAULT
waitmoncry
release
end
SootopolisCity_House4_Text_226D3B: @ 8226D3B
SootopolisCity_House4_Text_AncientTreasuresWaitingInSea: @ 8226D3B
.string "Listen up, and I'll tell you something\n"
.string "good.\p"
.string "There's supposed to be an ancient\n"
@@ -27,13 +27,13 @@ SootopolisCity_House4_Text_226D3B: @ 8226D3B
.string "There could be treasures just waiting\n"
.string "to be discovered down there.$"
SootopolisCity_House4_Text_226DEA: @ 8226DEA
SootopolisCity_House4_Text_StrollUnderwaterWithPokemon: @ 8226DEA
.string "Ancient treasures…\p"
.string "It would be nice if they existed, but\n"
.string "even if they didn't, it would be so\l"
.string "beautiful to take an underwater\l"
.string "stroll with my POKéMON.$"
SootopolisCity_House4_Text_226E7F: @ 8226E7F
SootopolisCity_House4_Text_Azumarill: @ 8226E7F
.string "AZUMARILL: Marurii.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House5_EventScript_226E94",
"script": "SootopolisCity_House5_EventScript_Maniac",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House5_EventScript_226E9D",
"script": "SootopolisCity_House5_EventScript_Girl",
"flag": "0"
}
],

View File

@@ -1,20 +1,20 @@
SootopolisCity_House5_MapScripts:: @ 8226E93
.byte 0
SootopolisCity_House5_EventScript_226E94:: @ 8226E94
msgbox SootopolisCity_House5_Text_226EA6, MSGBOX_NPC
SootopolisCity_House5_EventScript_Maniac:: @ 8226E94
msgbox SootopolisCity_House5_Text_SootopolisMtPyreConnection, MSGBOX_NPC
end
SootopolisCity_House5_EventScript_226E9D:: @ 8226E9D
msgbox SootopolisCity_House5_Text_226F35, MSGBOX_NPC
SootopolisCity_House5_EventScript_Girl:: @ 8226E9D
msgbox SootopolisCity_House5_Text_BrotherUsedToStudySea, MSGBOX_NPC
end
SootopolisCity_House5_Text_226EA6: @ 8226EA6
SootopolisCity_House5_Text_SootopolisMtPyreConnection: @ 8226EA6
.string "There appears to be some connection\n"
.string "between SOOTOPOLIS and MT. PYRE.\p"
.string "My friends and I did some research on\n"
.string "it at the lab where I used to work.$"
SootopolisCity_House5_Text_226F35: @ 8226F35
SootopolisCity_House5_Text_BrotherUsedToStudySea: @ 8226F35
.string "My big brother used to study the sea.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House6_EventScript_226F5C",
"script": "SootopolisCity_House6_EventScript_Woman",
"flag": "0"
}
],

View File

@@ -1,55 +1,55 @@
SootopolisCity_House6_MapScripts:: @ 8226F5B
.byte 0
SootopolisCity_House6_EventScript_226F5C:: @ 8226F5C
SootopolisCity_House6_EventScript_Woman:: @ 8226F5C
lock
faceplayer
goto_if_set FLAG_RECEIVED_WAILMER_DOLL, SootopolisCity_House6_EventScript_226FA3
msgbox SootopolisCity_House6_Text_226FC3, MSGBOX_YESNO
goto_if_set FLAG_RECEIVED_WAILMER_DOLL, SootopolisCity_House6_EventScript_ReceivedWailmerDoll
msgbox SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
call_if_eq SootopolisCity_House6_EventScript_226F99
msgbox SootopolisCity_House6_Text_227034, MSGBOX_DEFAULT
call_if_eq SootopolisCity_House6_EventScript_DeclineWailmerDoll
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
givedecoration_std DECOR_WAILMER_DOLL
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_House6_EventScript_226FAD
compare VAR_RESULT, FALSE
goto_if_eq SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
setflag FLAG_RECEIVED_WAILMER_DOLL
release
end
SootopolisCity_House6_EventScript_226F99:: @ 8226F99
msgbox SootopolisCity_House6_Text_22708F, MSGBOX_DEFAULT
SootopolisCity_House6_EventScript_DeclineWailmerDoll:: @ 8226F99
msgbox SootopolisCity_House6_Text_DontWantThisDoll, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_226FA3:: @ 8226FA3
msgbox SootopolisCity_House6_Text_2270B7, MSGBOX_DEFAULT
SootopolisCity_House6_EventScript_ReceivedWailmerDoll:: @ 8226FA3
msgbox SootopolisCity_House6_Text_LovePlushDolls, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_226FAD:: @ 8226FAD
SootopolisCity_House6_EventScript_NoRoomForWailmerDoll:: @ 8226FAD
bufferdecorationname 1, DECOR_WAILMER_DOLL
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
msgbox SootopolisCity_House6_Text_22704A, MSGBOX_DEFAULT
msgbox SootopolisCity_House6_Text_IllHoldItForYou, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_Text_226FC3: @ 8226FC3
SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll: @ 8226FC3
.string "Hello! You're our first guest in\n"
.string "a good while.\p"
.string "You've brightened up my day, so I'll\n"
.string "give you a big WAILMER DOLL.$"
SootopolisCity_House6_Text_227034: @ 8227034
SootopolisCity_House6_Text_TakeGoodCareOfIt: @ 8227034
.string "Take good care of it!$"
SootopolisCity_House6_Text_22704A: @ 822704A
SootopolisCity_House6_Text_IllHoldItForYou: @ 822704A
.string "Oh, you want it, but not right now?\n"
.string "Okay, then I'll hold it for you.$"
SootopolisCity_House6_Text_22708F: @ 822708F
SootopolisCity_House6_Text_DontWantThisDoll: @ 822708F
.string "Are you sure?\n"
.string "You don't want this DOLL?$"
SootopolisCity_House6_Text_2270B7: @ 82270B7
SootopolisCity_House6_Text_LovePlushDolls: @ 82270B7
.string "I love plush DOLLS!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House7_EventScript_2270CC",
"script": "SootopolisCity_House7_EventScript_OldMan",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House7_EventScript_2270D5",
"script": "SootopolisCity_House7_EventScript_PokefanF",
"flag": "0"
}
],

View File

@@ -1,15 +1,15 @@
SootopolisCity_House7_MapScripts:: @ 82270CB
.byte 0
SootopolisCity_House7_EventScript_2270CC:: @ 82270CC
msgbox SootopolisCity_House7_Text_2270DE, MSGBOX_NPC
SootopolisCity_House7_EventScript_OldMan:: @ 82270CC
msgbox SootopolisCity_House7_Text_CityFromEruptedVolcano, MSGBOX_NPC
end
SootopolisCity_House7_EventScript_2270D5:: @ 82270D5
msgbox SootopolisCity_House7_Text_227190, MSGBOX_NPC
SootopolisCity_House7_EventScript_PokefanF:: @ 82270D5
msgbox SootopolisCity_House7_Text_CaveMadeToKeepSomething, MSGBOX_NPC
end
SootopolisCity_House7_Text_2270DE: @ 82270DE
SootopolisCity_House7_Text_CityFromEruptedVolcano: @ 82270DE
.string "An underwater volcano erupted and\n"
.string "forced itself up from the depths.\p"
.string "Its crater emerged from the sea and\n"
@@ -17,7 +17,7 @@ SootopolisCity_House7_Text_2270DE: @ 82270DE
.string "That's how SOOTOPOLIS CITY came into\n"
.string "being.$"
SootopolisCity_House7_Text_227190: @ 8227190
SootopolisCity_House7_Text_CaveMadeToKeepSomething: @ 8227190
.string "The cave that links SOOTOPOLIS and\n"
.string "the outside world…\p"
.string "It seems as if the cave was made to\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_2272BC",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_LotadBrother",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_22722B",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_SeedotBrother",
"flag": "0"
}
],
@@ -65,7 +65,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_22734D"
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_SeedotSizeRecord"
},
{
"type": "sign",
@@ -73,7 +73,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_22735B"
"script": "SootopolisCity_LotadAndSeedotHouse_EventScript_LotadSizeRecord"
}
]
}

View File

@@ -1,119 +1,119 @@
SootopolisCity_LotadAndSeedotHouse_MapScripts:: @ 822722A
.byte 0
SootopolisCity_LotadAndSeedotHouse_EventScript_22722B:: @ 822722B
SootopolisCity_LotadAndSeedotHouse_EventScript_SeedotBrother:: @ 822722B
special GetSeedotSizeRecordInfo
lock
faceplayer
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227369, MSGBOX_DEFAULT
msgbox SootopolisCity_LotadAndSeedotHouse_Text_PleaseShowMeBigSeedot, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
copyvar VAR_RESULT, VAR_0x8004
compare VAR_RESULT, 255
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227272
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_CancelShowSeedot
special CompareSeedotSize
compare VAR_RESULT, 1
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_22727C
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NotSeedot
compare VAR_RESULT, 2
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227286
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_SmallSeedot
compare VAR_RESULT, 3
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227290
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_BigSeedot
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227272:: @ 8227272
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2275BC, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_CancelShowSeedot:: @ 8227272
msgbox SootopolisCity_LotadAndSeedotHouse_Text_DontHaveBigSeedot, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_22727C:: @ 822727C
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227584, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_NotSeedot:: @ 822727C
msgbox SootopolisCity_LotadAndSeedotHouse_Text_ThatsNotSeedot, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227286:: @ 8227286
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227544, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_SmallSeedot:: @ 8227286
msgbox SootopolisCity_LotadAndSeedotHouse_Text_SeenBiggerSeedot, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227290:: @ 8227290
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227480, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_BigSeedot:: @ 8227290
msgbox SootopolisCity_LotadAndSeedotHouse_Text_GoshMightBeBiggerThanLotad, MSGBOX_DEFAULT
giveitem_std ITEM_ELIXIR
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_2272B2
compare VAR_RESULT, FALSE
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir1
closemessage
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_2272B2:: @ 82272B2
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227524, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir1:: @ 82272B2
msgbox SootopolisCity_LotadAndSeedotHouse_Text_BagCrammedFull1, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_2272BC:: @ 82272BC
SootopolisCity_LotadAndSeedotHouse_EventScript_LotadBrother:: @ 82272BC
special GetLotadSizeRecordInfo
lock
faceplayer
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227676, MSGBOX_DEFAULT
msgbox SootopolisCity_LotadAndSeedotHouse_Text_PleaseShowMeBigLotad, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
copyvar VAR_RESULT, VAR_0x8004
compare VAR_RESULT, 255
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227303
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_CancelShowLotad
special CompareLotadSize
compare VAR_RESULT, 1
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_22730D
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NotLotad
compare VAR_RESULT, 2
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227317
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_SmallLotad
compare VAR_RESULT, 3
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227321
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_BigLotad
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227303:: @ 8227303
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227896, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_CancelShowLotad:: @ 8227303
msgbox SootopolisCity_LotadAndSeedotHouse_Text_DontHaveBigLotad, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_22730D:: @ 822730D
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227867, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_NotLotad:: @ 822730D
msgbox SootopolisCity_LotadAndSeedotHouse_Text_ThatsNotLotad, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227317:: @ 8227317
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22782A, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_SmallLotad:: @ 8227317
msgbox SootopolisCity_LotadAndSeedotHouse_Text_SeenBiggerLotad, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227321:: @ 8227321
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22776C, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_BigLotad:: @ 8227321
msgbox SootopolisCity_LotadAndSeedotHouse_Text_WowMightBeBiggerThanSeedot, MSGBOX_DEFAULT
giveitem_std ITEM_ELIXIR
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227343
compare VAR_RESULT, FALSE
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir2
closemessage
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_227343:: @ 8227343
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22780A, MSGBOX_DEFAULT
SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir2:: @ 8227343
msgbox SootopolisCity_LotadAndSeedotHouse_Text_BagCrammedFull2, MSGBOX_DEFAULT
release
end
SootopolisCity_LotadAndSeedotHouse_EventScript_22734D:: @ 822734D
SootopolisCity_LotadAndSeedotHouse_EventScript_SeedotSizeRecord:: @ 822734D
special GetSeedotSizeRecordInfo
lockall
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227617, MSGBOX_DEFAULT
msgbox SootopolisCity_LotadAndSeedotHouse_Text_BiggestSeedotInHistory, MSGBOX_DEFAULT
releaseall
end
SootopolisCity_LotadAndSeedotHouse_EventScript_22735B:: @ 822735B
SootopolisCity_LotadAndSeedotHouse_EventScript_LotadSizeRecord:: @ 822735B
special GetLotadSizeRecordInfo
lockall
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2278F2, MSGBOX_DEFAULT
msgbox SootopolisCity_LotadAndSeedotHouse_Text_BiggestLotadInHistory, MSGBOX_DEFAULT
releaseall
end
SootopolisCity_LotadAndSeedotHouse_Text_227369: @ 8227369
SootopolisCity_LotadAndSeedotHouse_Text_PleaseShowMeBigSeedot: @ 8227369
.string "Do you know the POKéMON SEEDOT?\n"
.string "It's hardly ever seen in SOOTOPOLIS.\p"
.string "Anyway, I love big SEEDOT.\n"
@@ -125,7 +125,7 @@ SootopolisCity_LotadAndSeedotHouse_Text_227369: @ 8227369
.string "Huh? Do you have a SEEDOT with you?\n"
.string "P-p-please, show me!$"
SootopolisCity_LotadAndSeedotHouse_Text_227480: @ 8227480
SootopolisCity_LotadAndSeedotHouse_Text_GoshMightBeBiggerThanLotad: @ 8227480
.string "{STR_VAR_2} inches!\n"
.string "Oh, my gosh, this is a big one!\p"
.string "It might even beat the big LOTAD\n"
@@ -133,35 +133,36 @@ SootopolisCity_LotadAndSeedotHouse_Text_227480: @ 8227480
.string "Thanks for showing me.\n"
.string "This is my thanks!$"
SootopolisCity_LotadAndSeedotHouse_Text_22750E: @ 822750E
@ Unused
SootopolisCity_LotadAndSeedotHouse_Text_ReceivedPotion1: @ 822750E
.string "{PLAYER} received a POTION.$"
SootopolisCity_LotadAndSeedotHouse_Text_227524: @ 8227524
SootopolisCity_LotadAndSeedotHouse_Text_BagCrammedFull1: @ 8227524
.string "Hunh?\n"
.string "Your BAG is crammed full.$"
SootopolisCity_LotadAndSeedotHouse_Text_227544: @ 8227544
SootopolisCity_LotadAndSeedotHouse_Text_SeenBiggerSeedot: @ 8227544
.string "{STR_VAR_2} inches, is it?\p"
.string "Hmm… I've seen a bigger SEEDOT\n"
.string "than this one.$"
SootopolisCity_LotadAndSeedotHouse_Text_227584: @ 8227584
SootopolisCity_LotadAndSeedotHouse_Text_ThatsNotSeedot: @ 8227584
.string "Oh, now this is quite something…\n"
.string "But it's not a SEEDOT!$"
SootopolisCity_LotadAndSeedotHouse_Text_2275BC: @ 82275BC
SootopolisCity_LotadAndSeedotHouse_Text_DontHaveBigSeedot: @ 82275BC
.string "You don't have a big SEEDOT?\n"
.string "That's too bad…\p"
.string "If you get a big SEEDOT, please\n"
.string "come show me.$"
SootopolisCity_LotadAndSeedotHouse_Text_227617: @ 8227617
SootopolisCity_LotadAndSeedotHouse_Text_BiggestSeedotInHistory: @ 8227617
.string "The biggest SEEDOT in history!\n"
.string "{STR_VAR_2}'s {STR_VAR_3}-inch giant!\p"
.string "A SEEDOT bigger than a LOTAD\n"
.string "always wanted!$"
SootopolisCity_LotadAndSeedotHouse_Text_227676: @ 8227676
SootopolisCity_LotadAndSeedotHouse_Text_PleaseShowMeBigLotad: @ 8227676
.string "Do you know the POKéMON LOTAD?\n"
.string "It's rarely seen in SOOTOPOLIS.\p"
.string "I love, I mean love, big LOTAD!\p"
@@ -172,7 +173,7 @@ SootopolisCity_LotadAndSeedotHouse_Text_227676: @ 8227676
.string "Hunh? Do you have a LOTAD?\n"
.string "P-p-please show me!$"
SootopolisCity_LotadAndSeedotHouse_Text_22776C: @ 822776C
SootopolisCity_LotadAndSeedotHouse_Text_WowMightBeBiggerThanSeedot: @ 822776C
.string "{STR_VAR_2} inches!\n"
.string "Wow, that is big!\p"
.string "It might be even bigger than the huge\n"
@@ -180,29 +181,30 @@ SootopolisCity_LotadAndSeedotHouse_Text_22776C: @ 822776C
.string "Thanks for showing me!\n"
.string "This is my thanks!$"
SootopolisCity_LotadAndSeedotHouse_Text_2277F4: @ 82277F4
@ Unused
SootopolisCity_LotadAndSeedotHouse_Text_ReceivedPotion2: @ 82277F4
.string "{PLAYER} received a POTION.$"
SootopolisCity_LotadAndSeedotHouse_Text_22780A: @ 822780A
SootopolisCity_LotadAndSeedotHouse_Text_BagCrammedFull2: @ 822780A
.string "Hunh?\n"
.string "Your BAG is crammed full.$"
SootopolisCity_LotadAndSeedotHouse_Text_22782A: @ 822782A
SootopolisCity_LotadAndSeedotHouse_Text_SeenBiggerLotad: @ 822782A
.string "{STR_VAR_2} inches?\p"
.string "Hmm… I've seen a bigger LOTAD\n"
.string "than this one here.$"
SootopolisCity_LotadAndSeedotHouse_Text_227867: @ 8227867
SootopolisCity_LotadAndSeedotHouse_Text_ThatsNotLotad: @ 8227867
.string "Well, isn't this something!\n"
.string "But it's no LOTAD!$"
SootopolisCity_LotadAndSeedotHouse_Text_227896: @ 8227896
SootopolisCity_LotadAndSeedotHouse_Text_DontHaveBigLotad: @ 8227896
.string "Don't you have a big LOTAD?\n"
.string "How disappointing…\p"
.string "If you get a big LOTAD, please\n"
.string "come show me!$"
SootopolisCity_LotadAndSeedotHouse_Text_2278F2: @ 82278F2
SootopolisCity_LotadAndSeedotHouse_Text_BiggestLotadInHistory: @ 82278F2
.string "The biggest LOTAD in history!\n"
.string "{STR_VAR_2}'s {STR_VAR_3}-inch colossus!\p"
.string "A LOTAD bigger than a SEEDOT\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_MysteryEventsHouse_1F_EventScript_227A24",
"script": "SootopolisCity_MysteryEventsHouse_1F_EventScript_OldMan",
"flag": "0"
}
],

View File

@@ -1,240 +1,243 @@
SootopolisCity_MysteryEventsHouse_1F_MapScripts:: @ 8227953
map_script MAP_SCRIPT_ON_TRANSITION, SootopolisCity_MysteryEventsHouse_1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, SootopolisCity_MysteryEventsHouse_1F_MapScript2_22799D
map_script MAP_SCRIPT_ON_FRAME_TABLE, SootopolisCity_MysteryEventsHouse_1F_OnFrame
.byte 0
SootopolisCity_MysteryEventsHouse_1F_OnTransition: @ 822795E
setvar VAR_0x8004, 16
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_VISIT_TRAINER
special CallFrontierUtilFunc
compare VAR_RESULT, 0
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_22797D
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_SetTrainerVisitingLayout
compare VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 0
call_if_ne SootopolisCity_MysteryEventsHouse_1F_EventScript_227991
call_if_ne SootopolisCity_MysteryEventsHouse_1F_EventScript_MoveOldManToDoor
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_22797D:: @ 822797D
SootopolisCity_MysteryEventsHouse_1F_EventScript_SetTrainerVisitingLayout:: @ 822797D
setvar VAR_TEMP_1, 1
setobjectxyperm 1, 3, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_DOWN
setmaplayoutindex LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F_STAIRS_UNBLOCKED
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227991:: @ 8227991
SootopolisCity_MysteryEventsHouse_1F_EventScript_MoveOldManToDoor:: @ 8227991
setobjectxyperm 1, 2, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_RIGHT
return
SootopolisCity_MysteryEventsHouse_1F_MapScript2_22799D: @ 822799D
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 1, SootopolisCity_MysteryEventsHouse_1F_EventScript_2279B7
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 2, SootopolisCity_MysteryEventsHouse_1F_EventScript_2279B7
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 3, SootopolisCity_MysteryEventsHouse_1F_EventScript_2279B7
SootopolisCity_MysteryEventsHouse_1F_OnFrame: @ 822799D
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 1, SootopolisCity_MysteryEventsHouse_1F_EventScript_OldManCommentOnBattle
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 2, SootopolisCity_MysteryEventsHouse_1F_EventScript_OldManCommentOnBattle
map_script_2 VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 3, SootopolisCity_MysteryEventsHouse_1F_EventScript_OldManCommentOnBattle
.2byte 0
SootopolisCity_MysteryEventsHouse_1F_EventScript_2279B7:: @ 82279B7
SootopolisCity_MysteryEventsHouse_1F_EventScript_OldManCommentOnBattle:: @ 82279B7
lockall
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_227A1F
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerExitStairs
waitmovement 0
applymovement 1, SootopolisCity_MysteryEventsHouse_1F_Movement_227A21
applymovement 1, SootopolisCity_MysteryEventsHouse_1F_Movement_OldManWalkBehindPlayer
waitmovement 0
copyobjectxytoperm 1
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
compare VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 1
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227A04
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleWonComment
compare VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 2
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227A0D
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleLostComment
compare VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 3
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227A16
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleTiedComment
special LoadPlayerParty
setvar VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 0
releaseall
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A04:: @ 8227A04
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227DB8, MSGBOX_DEFAULT
SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleWonComment:: @ 8227A04
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_ThatWasSuperlative, MSGBOX_DEFAULT
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A0D:: @ 8227A0D
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227E03, MSGBOX_DEFAULT
SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleLostComment:: @ 8227A0D
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_TooBadForYou, MSGBOX_DEFAULT
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A16:: @ 8227A16
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227D5B, MSGBOX_DEFAULT
SootopolisCity_MysteryEventsHouse_1F_EventScript_BattleTiedComment:: @ 8227A16
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_BrilliantStandoff, MSGBOX_DEFAULT
return
SootopolisCity_MysteryEventsHouse_1F_Movement_227A1F: @ 8227A1F
SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerExitStairs: @ 8227A1F
walk_down
step_end
SootopolisCity_MysteryEventsHouse_1F_Movement_227A21: @ 8227A21
SootopolisCity_MysteryEventsHouse_1F_Movement_OldManWalkBehindPlayer: @ 8227A21
walk_right
walk_in_place_fastest_down
step_end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A24:: @ 8227A24
SootopolisCity_MysteryEventsHouse_1F_EventScript_OldMan:: @ 8227A24
lock
faceplayer
setvar VAR_0x8004, 16
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_VISIT_TRAINER
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227A4E
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_InvalidVisitingTrainer
compare VAR_TEMP_1, 1
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227A58
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227B46, MSGBOX_DEFAULT
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_TrainerVisiting
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_OnlyAmusementWatchingBattles, MSGBOX_DEFAULT
release
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A4E:: @ 8227A4E
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227B46, MSGBOX_DEFAULT
SootopolisCity_MysteryEventsHouse_1F_EventScript_InvalidVisitingTrainer:: @ 8227A4E
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_OnlyAmusementWatchingBattles, MSGBOX_DEFAULT
release
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227A58:: @ 8227A58
SootopolisCity_MysteryEventsHouse_1F_EventScript_TrainerVisiting:: @ 8227A58
special SavePlayerParty
special BufferEReaderTrainerName
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227BFC, MSGBOX_YESNO
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_ChallengeVisitingTrainer, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227AE2
call SootopolisCity_MysteryEventsHouse_1F_EventScript_227AEF
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle
call SootopolisCity_MysteryEventsHouse_1F_EventScript_ChooseParty
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227AE2
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227CEB, MSGBOX_YESNO
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_SaveProgressBeforeBattle, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227AE2
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle
special LoadPlayerParty
call Common_EventScript_SaveGame
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227AE2
compare VAR_RESULT, FALSE
goto_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle
special SavePlayerParty
special ReducePlayerPartyToSelectedMons
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227D21, MSGBOX_DEFAULT
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_HopeToSeeGoodMatch, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, DIR_NORTH
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227AFE
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementNorth
compare VAR_FACING, DIR_EAST
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227B10
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementEast
compare VAR_FACING, DIR_WEST
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_227B22
call_if_eq SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementWest
warp MAP_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_B1F, 255, 3, 1
waitstate
release
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227AE2:: @ 8227AE2
SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle:: @ 8227AE2
special LoadPlayerParty
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227C44, MSGBOX_DEFAULT
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_YouWontBattle, MSGBOX_DEFAULT
release
end
SootopolisCity_MysteryEventsHouse_1F_EventScript_227AEF:: @ 8227AEF
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_227C84, MSGBOX_DEFAULT
SootopolisCity_MysteryEventsHouse_1F_EventScript_ChooseParty:: @ 8227AEF
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_KeepItTo3On3, MSGBOX_DEFAULT
fadescreen 1
special ChooseHalfPartyForBattle
waitstate
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227AFE:: @ 8227AFE
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_227B40
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_227B34
SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementNorth:: @ 8227AFE
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_OldManMoveAsideLeft
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementNorth
waitmovement 0
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227B10:: @ 8227B10
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_227B43
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_227B38
SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementEast:: @ 8227B10
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_OldManMoveAsideRight
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementEast
waitmovement 0
return
SootopolisCity_MysteryEventsHouse_1F_EventScript_227B22:: @ 8227B22
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_227B40
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_227B3C
SootopolisCity_MysteryEventsHouse_1F_EventScript_EnterBasementWest:: @ 8227B22
applymovement VAR_LAST_TALKED, SootopolisCity_MysteryEventsHouse_1F_Movement_OldManMoveAsideLeft
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementWest
waitmovement 0
return
SootopolisCity_MysteryEventsHouse_1F_Movement_227B34: @ 8227B34
SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementNorth: @ 8227B34
delay_16
walk_up
walk_up
step_end
SootopolisCity_MysteryEventsHouse_1F_Movement_227B38: @ 8227B38
SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementEast: @ 8227B38
delay_16
walk_right
walk_up
step_end
SootopolisCity_MysteryEventsHouse_1F_Movement_227B3C: @ 8227B3C
SootopolisCity_MysteryEventsHouse_1F_Movement_PlayerEnterBasementWest: @ 8227B3C
delay_16
walk_left
walk_up
step_end
SootopolisCity_MysteryEventsHouse_1F_Movement_227B40: @ 8227B40
SootopolisCity_MysteryEventsHouse_1F_Movement_OldManMoveAsideLeft: @ 8227B40
walk_left
walk_in_place_fastest_right
step_end
SootopolisCity_MysteryEventsHouse_1F_Movement_227B43: @ 8227B43
SootopolisCity_MysteryEventsHouse_1F_Movement_OldManMoveAsideRight: @ 8227B43
walk_right
walk_in_place_fastest_left
step_end
SootopolisCity_MysteryEventsHouse_1F_Text_227B46: @ 8227B46
SootopolisCity_MysteryEventsHouse_1F_Text_OnlyAmusementWatchingBattles: @ 8227B46
.string "When I was young, I traveled the world\n"
.string "as a POKéMON TRAINER.\p"
.string "Now that I've become an old buzzard,\n"
.string "my only amusement is watching young\l"
.string "TRAINERS battle.$"
SootopolisCity_MysteryEventsHouse_1F_Text_227BDD: @ 8227BDD
SootopolisCity_MysteryEventsHouse_1F_Text_DoorAppearsToBeLocked: @ 8227BDD
.string "The door appears to be locked.$"
SootopolisCity_MysteryEventsHouse_1F_Text_227BFC: @ 8227BFC
SootopolisCity_MysteryEventsHouse_1F_Text_ChallengeVisitingTrainer: @ 8227BFC
.string "A TRAINER named {STR_VAR_1}\n"
.string "is visiting my home.\p"
.string "Would you like to challenge\n"
.string "{STR_VAR_1}?$"
SootopolisCity_MysteryEventsHouse_1F_Text_227C44: @ 8227C44
SootopolisCity_MysteryEventsHouse_1F_Text_YouWontBattle: @ 8227C44
.string "You won't battle? I'm disappointed\n"
.string "that I can't see you battle…$"
SootopolisCity_MysteryEventsHouse_1F_Text_227C84: @ 8227C84
SootopolisCity_MysteryEventsHouse_1F_Text_KeepItTo3On3: @ 8227C84
.string "Oh, good, good!\p"
.string "But my house isn't all that sturdy.\p"
.string "Could I ask you to keep it down to\n"
.string "a 3-on-3 match?$"
SootopolisCity_MysteryEventsHouse_1F_Text_227CEB: @ 8227CEB
SootopolisCity_MysteryEventsHouse_1F_Text_SaveProgressBeforeBattle: @ 8227CEB
.string "Before you two battle, you should\n"
.string "save your progress.$"
SootopolisCity_MysteryEventsHouse_1F_Text_227D21: @ 8227D21
SootopolisCity_MysteryEventsHouse_1F_Text_HopeToSeeGoodMatch: @ 8227D21
.string "I hope to see a good match!$"
SootopolisCity_MysteryEventsHouse_1F_Text_227D3D: @ 8227D3D
@ Unused
SootopolisCity_MysteryEventsHouse_1F_Text_StrVar1Tie: @ 8227D3D
.string "{STR_VAR_1}$"
SootopolisCity_MysteryEventsHouse_B1F_Text_227D40: @ 8227D40
SootopolisCity_MysteryEventsHouse_B1F_Text_MatchEndedUpDraw: @ 8227D40
.string "The match ended up a draw.$"
SootopolisCity_MysteryEventsHouse_1F_Text_227D5B: @ 8227D5B
SootopolisCity_MysteryEventsHouse_1F_Text_BrilliantStandoff: @ 8227D5B
.string "So, it became a standoff.\p"
.string "It was a brilliant match in which\n"
.string "neither side conceded a step!$"
SootopolisCity_MysteryEventsHouse_1F_Text_227DB5: @ 8227DB5
@ Unused
SootopolisCity_MysteryEventsHouse_1F_Text_StrVar1Won: @ 8227DB5
.string "{STR_VAR_1}$"
SootopolisCity_MysteryEventsHouse_1F_Text_227DB8: @ 8227DB8
SootopolisCity_MysteryEventsHouse_1F_Text_ThatWasSuperlative: @ 8227DB8
.string "That was superlative!\p"
.string "Why, it was like seeing myself in\n"
.string "my youth again!$"
SootopolisCity_MysteryEventsHouse_1F_Text_227E00: @ 8227E00
@ Unused
SootopolisCity_MysteryEventsHouse_1F_Text_StrVar1Lost: @ 8227E00
.string "{STR_VAR_1}$"
SootopolisCity_MysteryEventsHouse_1F_Text_227E03: @ 8227E03
SootopolisCity_MysteryEventsHouse_1F_Text_TooBadForYou: @ 8227E03
.string "Ah, too bad for you!\p"
.string "But it was a good match.\n"
.string "I hope you can win next time.$"

View File

@@ -1,19 +1,19 @@
SootopolisCity_MysteryEventsHouse_B1F_MapScripts:: @ 8227E4F
map_script MAP_SCRIPT_ON_TRANSITION, SootopolisCity_MysteryEventsHouse_B1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, SootopolisCity_MysteryEventsHouse_B1F_MapScript2_227E5E
map_script MAP_SCRIPT_ON_FRAME_TABLE, SootopolisCity_MysteryEventsHouse_B1F_OnFrame
.byte 0
SootopolisCity_MysteryEventsHouse_B1F_OnTransition: @ 8227E5A
special SetEReaderTrainerGfxId
end
SootopolisCity_MysteryEventsHouse_B1F_MapScript2_227E5E: @ 8227E5E
map_script_2 VAR_TEMP_1, 0, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68
SootopolisCity_MysteryEventsHouse_B1F_OnFrame: @ 8227E5E
map_script_2 VAR_TEMP_1, 0, SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleVisitingTrainer
.2byte 0
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68:: @ 8227E68
SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleVisitingTrainer:: @ 8227E68
lockall
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF3
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_B1F_Movement_PlayerEnterBasement
waitmovement 0
special CopyEReaderTrainerGreeting
msgbox gStringVar4, MSGBOX_DEFAULT
@@ -23,14 +23,14 @@ SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68:: @ 8227E68
special DoSpecialTrainerBattle
waitstate
compare VAR_RESULT, 3
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_227ECF
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleTie
compare VAR_RESULT, 1
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EDD
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleWon
compare VAR_RESULT, 2
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EE8
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleLost
closemessage
special HealPlayerParty
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF9
applymovement EVENT_OBJ_ID_PLAYER, SootopolisCity_MysteryEventsHouse_B1F_Movement_PlayerExitBasement
waitmovement 0
special LoadPlayerParty
setvar VAR_TEMP_1, 1
@@ -39,26 +39,26 @@ SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68:: @ 8227E68
releaseall
end
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227ECF:: @ 8227ECF
SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleTie:: @ 8227ECF
setvar VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 3
msgbox SootopolisCity_MysteryEventsHouse_B1F_Text_227D40, MSGBOX_DEFAULT
msgbox SootopolisCity_MysteryEventsHouse_B1F_Text_MatchEndedUpDraw, MSGBOX_DEFAULT
return
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EDD:: @ 8227EDD
SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleWon:: @ 8227EDD
setvar VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 1
special ShowFieldMessageStringVar4
waitmessage
waitbuttonpress
return
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EE8:: @ 8227EE8
SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleLost:: @ 8227EE8
setvar VAR_SOOTOPOLIS_MYSTERY_EVENTS_STATE, 2
special ShowFieldMessageStringVar4
waitmessage
waitbuttonpress
return
SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF3: @ 8227EF3
SootopolisCity_MysteryEventsHouse_B1F_Movement_PlayerEnterBasement: @ 8227EF3
walk_down
walk_down
walk_down
@@ -66,7 +66,7 @@ SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF3: @ 8227EF3
walk_right
step_end
SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF9: @ 8227EF9
SootopolisCity_MysteryEventsHouse_B1F_Movement_PlayerExitBasement: @ 8227EF9
walk_left
walk_left
walk_up

View File

@@ -199,7 +199,7 @@ Route104_PrettyPetalFlowerShop_Text_MachineMixesBerries: @ 82A7AF3
.string "for POKéMON.\p"
.string "I want some candy, too.$"
SootopolisCity_Text_2A7BB0: @ 82A7BB0
SootopolisCity_Text_NameIsKiriHaveOneOfThese: @ 82A7BB0
.string "Hi, what's your name?\p"
.string "… … … … … … … … …\n"
.string "Okay. That's nice!\p"
@@ -209,26 +209,26 @@ SootopolisCity_Text_2A7BB0: @ 82A7BB0
.string "That's what they wished.\p"
.string "You can have one of these.$"
SootopolisCity_Text_2A7C7C: @ 82A7C7C
SootopolisCity_Text_GiveYouThisBerryToo: @ 82A7C7C
.string "KIRI will give you this BERRY, too!\n"
.string "I really like it lots!$"
SootopolisCity_Text_2A7CB7: @ 82A7CB7
SootopolisCity_Text_WhatKindOfWishInYourName: @ 82A7CB7
.string "I wonder what kind of wish is included\n"
.string "in your name.$"
SootopolisCity_Text_2A7CEC: @ 82A7CEC
SootopolisCity_Text_LikeSeasonBornIn: @ 82A7CEC
.string "Spring, summer, autumn, and winter.\p"
.string "If you're born in springtime, do you like\n"
.string "the spring, and if you're born in the\l"
.string "summer, do you like the summer?$"
SootopolisCity_Text_2A7D80: @ 82A7D80
SootopolisCity_Text_ThenILoveAutumn: @ 82A7D80
.string "Then KIRI was born in the autumn,\n"
.string "so I love the autumn!\p"
.string "Which season do you like?$"
SootopolisCity_Text_2A7DD2: @ 82A7DD2
SootopolisCity_Text_OhDoesntMatter: @ 82A7DD2
.string "Oh…\n"
.string "It doesn't matter…\p"
.string "There's so much that I want to know…$"