Merge pull request #884 from GriffinRichards/doc-halloffame

Document a few towns/cities
This commit is contained in:
huderlem
2019-11-07 19:55:19 -06:00
committed by GitHub
59 changed files with 886 additions and 882 deletions

View File

@@ -645,61 +645,7 @@ Std_MsgboxAutoclose:: @ 8271494
return
.include "data/scripts/new_game.inc"
@ Below seems to be hall_of_fame.inc and briney.inc together?
EverGrandeCity_HallOfFame_EventScript_2717C1:: @ 82717C1
special sub_81AFDD0
setflag FLAG_IS_CHAMPION
call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries
compare VAR_FOSSIL_MANIAC_STATE, 0
call_if_eq EverGrandeCity_HallOfFame_EventScript_271839
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
setflag FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY
clearflag FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY
setvar VAR_STEVENS_HOUSE_STATE, 2
setflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
clearflag FLAG_HIDE_VICTORY_ROAD_EXIT_WALLY
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL
clearflag FLAG_HIDE_LILYCOVE_HARBOR_SSTIDAL
setflag FLAG_HIDE_SAFARI_ZONE_SOUTH_CONSTRUCTION_WORKERS
clearflag FLAG_HIDE_SAFARI_ZONE_SOUTH_EAST_EXPANSION
setflag FLAG_HIDE_LILYCOVE_CITY_RIVAL
special sub_813BA60
call_if_unset FLAG_RECEIVED_SS_TICKET, EverGrandeCity_HallOfFame_EventScript_271843
call_if_unset FLAG_RECEIVED_BELDUM, EverGrandeCity_HallOfFame_EventScript_27183F
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 0
call_if_eq EverGrandeCity_HallOfFame_EventScript_271851
return
EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829
clearflag FLAG_DEFEATED_MEW
clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS
clearflag FLAG_DEFEATED_DEOXYS
clearflag FLAG_DEFEATED_LUGIA
clearflag FLAG_DEFEATED_HO_OH
return
EverGrandeCity_HallOfFame_EventScript_271839:: @ 8271839
setvar VAR_FOSSIL_MANIAC_STATE, 1
return
EverGrandeCity_HallOfFame_EventScript_27183F:: @ 827183F
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
return
EverGrandeCity_HallOfFame_EventScript_271843:: @ 8271843
setvar VAR_LITTLEROOT_HOUSES_STATE, 3
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 3
clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD
return
EverGrandeCity_HallOfFame_EventScript_271851:: @ 8271851
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1
return
.include "data/scripts/hall_of_fame.inc"
EventScript_WhiteOut:: @ 8271857
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
@@ -800,8 +746,7 @@ Common_EventScript_ReadyPetalburgGymForBattle:: @ 8271E84
setflag FLAG_PETALBURG_MART_EXPANDED_ITEMS
return
DewfordTown_EventScript_271E8B:: @ 8271E8B
DewfordTown_Hall_EventScript_271E8B:: @ 8271E8B
Common_EventScript_BufferTrendyPhrase:: @ 8271E8B
dotimebasedevents
setvar VAR_0x8004, 0
special BufferTrendyPhraseString

View File

@@ -35,7 +35,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_1E95B1",
"script": "DewfordTown_EventScript_Woman",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "3",
"script": "DewfordTown_EventScript_1E9511",
"script": "DewfordTown_EventScript_Briney",
"flag": "FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_1E95D5",
"script": "DewfordTown_EventScript_OldRodFisherman",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_1E9922",
"script": "DewfordTown_EventScript_TrendyPhraseBoy",
"flag": "0"
}
],
@@ -136,7 +136,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DewfordTown_EventScript_1E95BA"
"script": "DewfordTown_EventScript_TownSign"
},
{
"type": "sign",
@@ -144,7 +144,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DewfordTown_EventScript_1E95C3"
"script": "DewfordTown_EventScript_GymSign"
},
{
"type": "sign",
@@ -168,7 +168,7 @@
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DewfordTown_EventScript_1E95CC"
"script": "DewfordTown_EventScript_HallSign"
}
]
}

View File

@@ -6,131 +6,131 @@ DewfordTown_OnTransition: @ 81E950D
setflag FLAG_VISITED_DEWFORD_TOWN
end
DewfordTown_EventScript_1E9511:: @ 81E9511
DewfordTown_EventScript_Briney:: @ 81E9511
lock
faceplayer
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, DewfordTown_EventScript_1E9585
message DewfordTown_Text_1E9C8A
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, DewfordTown_EventScript_ReturnToPetalburgPrompt
message DewfordTown_Text_WhereAreWeBound
waitmessage
multichoicedefault 21, 6, MULTI_BRINEY_ON_DEWFORD, 2, 0
switch VAR_RESULT
case 0, DewfordTown_EventScript_1E955A
case 1, DewfordTown_EventScript_1E956A
case 2, DewfordTown_EventScript_1E957A
case MULTI_B_PRESSED, DewfordTown_EventScript_1E957A
case 0, DewfordTown_EventScript_ChoosePetalburg
case 1, DewfordTown_EventScript_ChooseSlateport
case 2, DewfordTown_EventScript_CancelSailSelect
case MULTI_B_PRESSED, DewfordTown_EventScript_CancelSailSelect
end
DewfordTown_EventScript_1E955A:: @ 81E955A
msgbox DewfordTown_Text_1E9CE5, MSGBOX_DEFAULT
DewfordTown_EventScript_ChoosePetalburg:: @ 81E955A
msgbox DewfordTown_Text_PetalburgWereSettingSail, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_1E9660
goto DewfordTown_EventScript_SailToPetalburg
release
end
DewfordTown_EventScript_1E956A:: @ 81E956A
msgbox DewfordTown_Text_1E9D3A, MSGBOX_DEFAULT
DewfordTown_EventScript_ChooseSlateport:: @ 81E956A
msgbox DewfordTown_Text_SlateportWereSettingSail, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_1E96E7
goto DewfordTown_EventScript_SailToSlateport
release
end
DewfordTown_EventScript_1E957A:: @ 81E957A
msgbox DewfordTown_Text_1E9D8F, MSGBOX_DEFAULT
DewfordTown_EventScript_CancelSailSelect:: @ 81E957A
msgbox DewfordTown_Text_JustTellMeWhenYouNeedToSetSail, MSGBOX_DEFAULT
closemessage
release
end
DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, MSGBOX_YESNO
DewfordTown_EventScript_ReturnToPetalburgPrompt:: @ 81E9585
msgbox DewfordTown_Text_SetSailBackToPetalburg, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, MSGBOX_DEFAULT
goto_if_eq DewfordTown_EventScript_SailBackToPetalburg
msgbox DewfordTown_Text_GoDeliverIllBeWaiting, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E95A2:: @ 81E95A2
msgbox DewfordTown_Text_1E9B7F, MSGBOX_DEFAULT
DewfordTown_EventScript_SailBackToPetalburg:: @ 81E95A2
msgbox DewfordTown_Text_PetalburgWereSettingSail2, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_1E9660
goto DewfordTown_EventScript_SailToPetalburg
end
DewfordTown_EventScript_1E95B1:: @ 81E95B1
msgbox DewfordTown_Text_1E99A8, MSGBOX_NPC
DewfordTown_EventScript_Woman:: @ 81E95B1
msgbox DewfordTown_Text_TinyIslandCommunity, MSGBOX_NPC
end
DewfordTown_EventScript_1E95BA:: @ 81E95BA
msgbox DewfordTown_Text_1E9A0F, MSGBOX_SIGN
DewfordTown_EventScript_TownSign:: @ 81E95BA
msgbox DewfordTown_Text_TownSign, MSGBOX_SIGN
end
DewfordTown_EventScript_1E95C3:: @ 81E95C3
msgbox DewfordTown_Text_1E9A3D, MSGBOX_SIGN
DewfordTown_EventScript_GymSign:: @ 81E95C3
msgbox DewfordTown_Text_GymSign, MSGBOX_SIGN
end
DewfordTown_EventScript_1E95CC:: @ 81E95CC
msgbox DewfordTown_Text_1E9A7F, MSGBOX_SIGN
DewfordTown_EventScript_HallSign:: @ 81E95CC
msgbox DewfordTown_Text_HallSign, MSGBOX_SIGN
end
DewfordTown_EventScript_1E95D5:: @ 81E95D5
DewfordTown_EventScript_OldRodFisherman:: @ 81E95D5
lock
faceplayer
goto_if_set FLAG_RECEIVED_OLD_ROD, DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, MSGBOX_YESNO
goto_if_set FLAG_RECEIVED_OLD_ROD, DewfordTown_EventScript_HowsFishing
msgbox DewfordTown_Text_GettingItchToFish, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E95FF
goto_if_eq DewfordTown_EventScript_GiveOldRod
compare VAR_RESULT, NO
goto_if_eq DewfordTown_EventScript_1E9620
goto_if_eq DewfordTown_EventScript_NotGettingItchToFish
end
DewfordTown_EventScript_1E95FF:: @ 81E95FF
msgbox DewfordTown_Text_1E9E14, MSGBOX_DEFAULT
DewfordTown_EventScript_GiveOldRod:: @ 81E95FF
msgbox DewfordTown_Text_GiveYouOneOfMyRods, MSGBOX_DEFAULT
giveitem_std ITEM_OLD_ROD
setflag FLAG_RECEIVED_OLD_ROD
msgbox DewfordTown_Text_1E9E65, MSGBOX_DEFAULT
msgbox DewfordTown_Text_ThrowInFishingAdvice, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E9620:: @ 81E9620
msgbox DewfordTown_Text_1E9F92, MSGBOX_DEFAULT
DewfordTown_EventScript_NotGettingItchToFish:: @ 81E9620
msgbox DewfordTown_Text_ThatsTooBadThen, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E962A:: @ 81E962A
message DewfordTown_Text_1E9FB8
DewfordTown_EventScript_HowsFishing:: @ 81E962A
message DewfordTown_Text_HowsYourFishing
waitmessage
multichoice 20, 8, MULTI_HOWS_FISHING, 1
compare VAR_RESULT, 0
goto_if_eq DewfordTown_EventScript_1E964C
goto_if_eq DewfordTown_EventScript_FishingExcellent
compare VAR_RESULT, 1
goto_if_eq DewfordTown_EventScript_1E9656
goto_if_eq DewfordTown_EventScript_FishingNotSoGood
end
DewfordTown_EventScript_1E964C:: @ 81E964C
msgbox DewfordTown_Text_1E9FD0, MSGBOX_DEFAULT
DewfordTown_EventScript_FishingExcellent:: @ 81E964C
msgbox DewfordTown_Text_GreatHaulInSomeBigOnes, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E9656:: @ 81E9656
msgbox DewfordTown_Text_1EA004, MSGBOX_DEFAULT
DewfordTown_EventScript_FishingNotSoGood:: @ 81E9656
msgbox DewfordTown_Text_FishingAdvice, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E9660:: @ 81E9660
DewfordTown_EventScript_SailToPetalburg:: @ 81E9660
call EventScript_BackupMrBrineyLocation
setobjectpriority 2, MAP_DEWFORD_TOWN, 0
setobjectpriority EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN, 0
applymovement 2, DewfordTown_Movement_1E991D
applymovement 2, DewfordTown_Movement_BrineyBoardBoat
waitmovement 0
removeobject 2
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9911
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_PlayerBoardBoat
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
call Common_EventScript_PlayBrineysBoatMusic
applymovement 4, DewfordTown_Movement_1E97A2
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E97A2
applymovement 4, DewfordTown_Movement_SailToPetalburg
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_SailToPetalburg
waitmovement 0
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
call Common_EventScript_StopBrineysBoatMusic
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9914
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_ExitBoatPetalburg
waitmovement 0
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
@@ -146,36 +146,36 @@ DewfordTown_EventScript_1E9660:: @ 81E9660
release
end
DewfordTown_EventScript_1E96E7:: @ 81E96E7
DewfordTown_EventScript_SailToSlateport:: @ 81E96E7
call EventScript_BackupMrBrineyLocation
setobjectpriority 2, MAP_DEWFORD_TOWN, 0
setobjectpriority EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN, 1
applymovement 2, DewfordTown_Movement_1E991D
applymovement 2, DewfordTown_Movement_BrineyBoardBoat
waitmovement 0
removeobject 2
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9911
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_PlayerBoardBoat
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
call Common_EventScript_PlayBrineysBoatMusic
applymovement 4, DewfordTown_Movement_1E9865
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9865
applymovement 4, DewfordTown_Movement_SailToSlateport
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_SailToSlateport
waitmovement 0
call Common_EventScript_StopBrineysBoatMusic
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE109
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9918
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_ExitBoatSlateport
waitmovement 0
setobjectxyperm 2, 21, 26
addobject 2
setobjectpriority 2, MAP_ROUTE109, 0
applymovement 2, DewfordTown_Movement_1E991F
applymovement 2, DewfordTown_Movement_BrineyExitBoat
waitmovement 0
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY
addobject 1
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
hideobjectat 4, MAP_DEWFORD_TOWN
call_if_unset FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_1E9790
call_if_set FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_1E9799
call_if_unset FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_LandedSlateportDeliverGoods
call_if_set FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_LandedSlateport
closemessage
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
resetobjectpriority EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
@@ -184,15 +184,15 @@ DewfordTown_EventScript_1E96E7:: @ 81E96E7
release
end
DewfordTown_EventScript_1E9790:: @ 81E9790
DewfordTown_EventScript_LandedSlateportDeliverGoods:: @ 81E9790
msgbox DewfordTown_Text_BrineyLandedInSlateportDeliverGoods, MSGBOX_DEFAULT
return
DewfordTown_EventScript_1E9799:: @ 81E9799
DewfordTown_EventScript_LandedSlateport:: @ 81E9799
msgbox DewfordTown_Text_BrineyLandedInSlateport, MSGBOX_DEFAULT
return
DewfordTown_Movement_1E97A2: @ 81E97A2
DewfordTown_Movement_SailToPetalburg: @ 81E97A2
walk_up
walk_up
walk_fast_up
@@ -389,7 +389,7 @@ DewfordTown_Movement_1E97A2: @ 81E97A2
walk_up
step_end
DewfordTown_Movement_1E9865: @ 81E9865
DewfordTown_Movement_SailToSlateport: @ 81E9865
walk_right
walk_fast_right
walk_fast_right
@@ -563,94 +563,94 @@ DewfordTown_Movement_1E9865: @ 81E9865
walk_fast_up
step_end
DewfordTown_Movement_1E9911: @ 81E9911
DewfordTown_Movement_PlayerBoardBoat: @ 81E9911
walk_right
walk_up
step_end
DewfordTown_Movement_1E9914: @ 81E9914
DewfordTown_Movement_ExitBoatPetalburg: @ 81E9914
walk_up
walk_up
walk_up
step_end
DewfordTown_Movement_1E9918: @ 81E9918
DewfordTown_Movement_ExitBoatSlateport: @ 81E9918
walk_up
walk_up
walk_up
walk_in_place_fastest_down
step_end
DewfordTown_Movement_1E991D: @ 81E991D
DewfordTown_Movement_BrineyBoardBoat: @ 81E991D
walk_up
step_end
DewfordTown_Movement_1E991F: @ 81E991F
DewfordTown_Movement_BrineyExitBoat: @ 81E991F
walk_up
walk_up
step_end
DewfordTown_EventScript_1E9922:: @ 81E9922
DewfordTown_EventScript_TrendyPhraseBoy:: @ 81E9922
lock
faceplayer
call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, MSGBOX_YESNO
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Text_XIsTheBiggestHappeningThingRight, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E9948
goto_if_eq DewfordTown_EventScript_ConfirmTrendyPhrase
compare VAR_RESULT, NO
goto_if_eq DewfordTown_EventScript_1E9952
goto_if_eq DewfordTown_EventScript_RejectTrendyPhrase
end
DewfordTown_EventScript_1E9948:: @ 81E9948
msgbox DewfordTown_Text_1EA491, MSGBOX_DEFAULT
DewfordTown_EventScript_ConfirmTrendyPhrase:: @ 81E9948
msgbox DewfordTown_Text_YeahDefinitionOfInRightNow, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E9952:: @ 81E9952
msgbox DewfordTown_Text_1EA242, MSGBOX_DEFAULT
DewfordTown_EventScript_RejectTrendyPhrase:: @ 81E9952
msgbox DewfordTown_Text_TellMeWhatsNewAndIn, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_TRENDY_PHRASE
call Common_ShowEasyChatScreen
lock
faceplayer
compare VAR_RESULT, 1
goto_if_eq DewfordTown_EventScript_1E997D
goto_if_eq DewfordTown_EventScript_GiveNewTrendyPhrase
compare VAR_RESULT, 0
goto_if_eq DewfordTown_EventScript_1E9994
goto_if_eq DewfordTown_EventScript_CancelNewTrendyPhrase
end
DewfordTown_EventScript_1E997D:: @ 81E997D
DewfordTown_EventScript_GiveNewTrendyPhrase:: @ 81E997D
incrementgamestat GAME_STAT_STARTED_TRENDS
compare VAR_0x8004, 0
goto_if_eq DewfordTown_EventScript_1E999E
msgbox DewfordTown_Text_1EA2AA, MSGBOX_DEFAULT
goto_if_eq DewfordTown_EventScript_PhraseNotTrendyEnough
msgbox DewfordTown_Text_OfCourseIKnowAboutThat, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E9994:: @ 81E9994
msgbox DewfordTown_Text_1EA443, MSGBOX_DEFAULT
DewfordTown_EventScript_CancelNewTrendyPhrase:: @ 81E9994
msgbox DewfordTown_Text_HearOfAnyTrendsComeShareWithMe, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_1E999E:: @ 81E999E
msgbox DewfordTown_Text_1EA3FE, MSGBOX_DEFAULT
DewfordTown_EventScript_PhraseNotTrendyEnough:: @ 81E999E
msgbox DewfordTown_Text_XHuhIThinkYIsCool, MSGBOX_DEFAULT
release
end
DewfordTown_Text_1E99A8: @ 81E99A8
DewfordTown_Text_TinyIslandCommunity: @ 81E99A8
.string "DEWFORD is a tiny island community.\n"
.string "If something gets trendy here,\l"
.string "everyone picks up on it right away.$"
DewfordTown_Text_1E9A0F: @ 81E9A0F
DewfordTown_Text_TownSign: @ 81E9A0F
.string "DEWFORD TOWN\n"
.string "“A tiny island in the blue sea.”$"
DewfordTown_Text_1E9A3D: @ 81E9A3D
DewfordTown_Text_GymSign: @ 81E9A3D
.string "DEWFORD TOWN POKéMON GYM\n"
.string "LEADER: BRAWLY\l"
.string "“A big wave in fighting!”$"
DewfordTown_Text_1E9A7F: @ 81E9A7F
DewfordTown_Text_HallSign: @ 81E9A7F
.string "DEWFORD HALL\n"
.string "“Everyone's information exchange!”$"
@@ -660,18 +660,18 @@ Route104_Text_LandedInDewfordDeliverLetter: @ 81E9AAF
.string "I suppose you're off to deliver that\n"
.string "LETTER to, who was it now, STEVEN!$"
DewfordTown_Text_1E9B24: @ 81E9B24
DewfordTown_Text_SetSailBackToPetalburg: @ 81E9B24
.string "MR. BRINEY: Have you delivered your\n"
.string "LETTER?\p"
.string "Or were you meaning to sail back to\n"
.string "PETALBURG?$"
DewfordTown_Text_1E9B7F: @ 81E9B7F
DewfordTown_Text_PetalburgWereSettingSail2: @ 81E9B7F
.string "MR. BRINEY: PETALBURG it is, then!\p"
.string "Anchors aweigh!\n"
.string "PEEKO, we're setting sail, my darling!$"
DewfordTown_Text_1E9BD9: @ 81E9BD9
DewfordTown_Text_GoDeliverIllBeWaiting: @ 81E9BD9
.string "MR. BRINEY: Then you go on and deliver\n"
.string "the LETTER. I'll be waiting.$"
@@ -681,35 +681,35 @@ DewfordTown_Text_BrineyLandedInDewford: @ 81E9C1D
.string "You just go on and tell me whenever\n"
.string "you want to set sail again!$"
DewfordTown_Text_1E9C8A: @ 81E9C8A
DewfordTown_Text_WhereAreWeBound: @ 81E9C8A
.string "MR. BRINEY: Ahoy!\n"
.string "For you, I'll go out to sea anytime!\p"
.string "Now, my friend, where are we bound?$"
DewfordTown_Text_1E9CE5: @ 81E9CE5
DewfordTown_Text_PetalburgWereSettingSail: @ 81E9CE5
.string "MR. BRINEY: PETALBURG, is it?\p"
.string "Anchors aweigh!\n"
.string "PEEKO, we're setting sail, my darling!$"
DewfordTown_Text_1E9D3A: @ 81E9D3A
DewfordTown_Text_SlateportWereSettingSail: @ 81E9D3A
.string "MR. BRINEY: SLATEPORT, is it?\p"
.string "Anchors aweigh!\n"
.string "PEEKO, we're setting sail, my darling!$"
DewfordTown_Text_1E9D8F: @ 81E9D8F
DewfordTown_Text_JustTellMeWhenYouNeedToSetSail: @ 81E9D8F
.string "MR. BRINEY: You just tell me whenever\n"
.string "you need to set sail again!$"
DewfordTown_Text_1E9DD1: @ 81E9DD1
DewfordTown_Text_GettingItchToFish: @ 81E9DD1
.string "This is a renowned fishing spot.\n"
.string "Are you getting the itch to fish?$"
DewfordTown_Text_1E9E14: @ 81E9E14
DewfordTown_Text_GiveYouOneOfMyRods: @ 81E9E14
.string "I hear you, and I like what\n"
.string "you're saying!\p"
.string "I'll give you one of my fishing RODS.$"
DewfordTown_Text_1E9E65: @ 81E9E65
DewfordTown_Text_ThrowInFishingAdvice: @ 81E9E65
.string "And, as an added bonus, I'll even throw\n"
.string "in a little fishing advice!\p"
.string "First, you want to face the water,\n"
@@ -721,19 +721,19 @@ DewfordTown_Text_1E9E65: @ 81E9E65
.string "you need to time the pulls on your ROD\l"
.string "to haul them in.$"
DewfordTown_Text_1E9F92: @ 81E9F92
DewfordTown_Text_ThatsTooBadThen: @ 81E9F92
.string "Oh, is that so?\n"
.string "That's too bad, then.$"
DewfordTown_Text_1E9FB8: @ 81E9FB8
DewfordTown_Text_HowsYourFishing: @ 81E9FB8
.string "Yo!\n"
.string "How's your fishing?$"
DewfordTown_Text_1E9FD0: @ 81E9FD0
DewfordTown_Text_GreatHaulInSomeBigOnes: @ 81E9FD0
.string "Is that right! That's great!\n"
.string "Haul in some big ones!$"
DewfordTown_Text_1EA004: @ 81EA004
DewfordTown_Text_FishingAdvice: @ 81EA004
.string "Oh, hey, don't get down on yourself!\n"
.string "I'll give you a little fishing advice.\p"
.string "First, you want to face the water,\n"
@@ -745,7 +745,7 @@ DewfordTown_Text_1EA004: @ 81EA004
.string "you need to time the pulls on your ROD\l"
.string "to haul them in.$"
DewfordTown_Text_1EA136: @ 81EA136
DewfordTown_Text_XIsTheBiggestHappeningThingRight: @ 81EA136
.string "I like what's hip, happening, and trendy.\n"
.string "I'm always checking it out.\p"
.string "Listen, have you heard about this new\n"
@@ -759,13 +759,13 @@ DewfordTown_Text_1EA136: @ 81EA136
.string "{STR_VAR_1}”\l"
.string "is the biggest happening thing, right?$"
DewfordTown_Text_1EA242: @ 81EA242
DewfordTown_Text_TellMeWhatsNewAndIn: @ 81EA242
.string "Hunh?\n"
.string "It's not the hip and happening thing?\p"
.string "Well, hey, you have to tell me,\n"
.string "what's new and what's “in”?$"
DewfordTown_Text_1EA2AA: @ 81EA2AA
DewfordTown_Text_OfCourseIKnowAboutThat: @ 81EA2AA
.string "Hunh?\n"
.string "{STR_VAR_2}”?\p"
.string "… …\p"
@@ -783,18 +783,18 @@ DewfordTown_Text_1EA2AA: @ 81EA2AA
.string "Now, “{STR_VAR_2}” is\n"
.string "what's vital and in tune with the times!$"
DewfordTown_Text_1EA3FE: @ 81EA3FE
DewfordTown_Text_XHuhIThinkYIsCool: @ 81EA3FE
.string "Hmm…\n"
.string "{STR_VAR_2},” huh?\p"
.string "But personally, I think\n"
.string "{STR_VAR_1}”\l"
.string "is what's real in cool.$"
DewfordTown_Text_1EA443: @ 81EA443
DewfordTown_Text_HearOfAnyTrendsComeShareWithMe: @ 81EA443
.string "Well, if you hear of any happening new\n"
.string "trends, come share them with me, okay?$"
DewfordTown_Text_1EA491: @ 81EA491
DewfordTown_Text_YeahDefinitionOfInRightNow: @ 81EA491
.string "Yeah, absolutely right!\p"
.string "{STR_VAR_1}” is the\n"
.string "definition of “in” right now.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD4D0",
"script": "DewfordTown_Hall_EventScript_Girl",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD4F9",
"script": "DewfordTown_Hall_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD50A",
"script": "DewfordTown_Hall_EventScript_Man",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD547",
"script": "DewfordTown_Hall_EventScript_ExpertM",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD563",
"script": "DewfordTown_Hall_EventScript_Twin",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD57F",
"script": "DewfordTown_Hall_EventScript_LittleBoy",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD62F",
"script": "DewfordTown_Hall_EventScript_SchoolKidM",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD63B",
"script": "DewfordTown_Hall_EventScript_PsychicM",
"flag": "0"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1FD7DA",
"script": "DewfordTown_Hall_EventScript_SludgeBombMan",
"flag": "FLAG_HIDE_DEWFORD_HALL_SLUDGE_BOMB_MAN"
}
],
@@ -156,7 +156,7 @@
"y": 1,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DewfordTown_Hall_EventScript_1FD590"
"script": "DewfordTown_Hall_EventScript_Bookshelf"
},
{
"type": "sign",
@@ -164,7 +164,7 @@
"y": 1,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DewfordTown_Hall_EventScript_1FD5A0"
"script": "DewfordTown_Hall_EventScript_Painting"
}
]
}

View File

@@ -1,319 +1,319 @@
DewfordTown_Hall_MapScripts:: @ 81FD4CF
.byte 0
DewfordTown_Hall_EventScript_1FD4D0:: @ 81FD4D0
DewfordTown_Hall_EventScript_Girl:: @ 81FD4D0
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
call Common_EventScript_BufferTrendyPhrase
special TrendyPhraseIsOld
compare VAR_RESULT, 1
goto_if_eq DewfordTown_Hall_EventScript_1FD4EF
msgbox DewfordTown_Hall_Text_1FD818, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq DewfordTown_Hall_EventScript_GirlBoredOfTrend
msgbox DewfordTown_Hall_Text_CantImagineLifeWithoutTrend, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD4EF:: @ 81FD4EF
msgbox DewfordTown_Hall_Text_1FD877, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_GirlBoredOfTrend:: @ 81FD4EF
msgbox DewfordTown_Hall_Text_GettingBoredOfTrend, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD4F9:: @ 81FD4F9
DewfordTown_Hall_EventScript_Woman:: @ 81FD4F9
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
msgbox DewfordTown_Hall_Text_1FD8ED, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Hall_Text_TeachingMonAboutTrend, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
DewfordTown_Hall_EventScript_Man:: @ 81FD50A
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
call Common_EventScript_BufferTrendyPhrase
special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, MSGBOX_YESNO
msgbox DewfordTown_Hall_Text_DeepLinkBetweenXAndY, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq DewfordTown_Hall_EventScript_1FD533
goto_if_eq DewfordTown_Hall_EventScript_ConfirmTrendLink
compare VAR_RESULT, NO
goto_if_eq DewfordTown_Hall_EventScript_1FD53D
goto_if_eq DewfordTown_Hall_EventScript_RejectTrendLink
end
DewfordTown_Hall_EventScript_1FD533:: @ 81FD533
msgbox DewfordTown_Hall_Text_1FD9B3, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_ConfirmTrendLink:: @ 81FD533
msgbox DewfordTown_Hall_Text_MyHunchWasRight, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD53D:: @ 81FD53D
msgbox DewfordTown_Hall_Text_1FDA06, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_RejectTrendLink:: @ 81FD53D
msgbox DewfordTown_Hall_Text_NotEasyToKeepUp, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD547:: @ 81FD547
DewfordTown_Hall_EventScript_ExpertM:: @ 81FD547
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
msgbox DewfordTown_Hall_Text_1FDA5C, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Hall_Text_TVShowAboutTrend, MSGBOX_DEFAULT
closemessage
applymovement 4, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
release
end
DewfordTown_Hall_EventScript_1FD563:: @ 81FD563
DewfordTown_Hall_EventScript_Twin:: @ 81FD563
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
msgbox DewfordTown_Hall_Text_1FDA99, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Hall_Text_IsTrendMorePopularAcrossSea, MSGBOX_DEFAULT
closemessage
applymovement 5, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
release
end
DewfordTown_Hall_EventScript_1FD57F:: @ 81FD57F
DewfordTown_Hall_EventScript_LittleBoy:: @ 81FD57F
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
msgbox DewfordTown_Hall_Text_1FDAC4, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Hall_Text_CollectTrendMerchandise, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1FD590:: @ 81FD590
DewfordTown_Hall_EventScript_Bookshelf:: @ 81FD590
lockall
call DewfordTown_Hall_EventScript_271E8B
msgbox DewfordTown_Hall_Text_1FDB89, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
msgbox DewfordTown_Hall_Text_BooksAboutTrend, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD5A0:: @ 81FD5A0
DewfordTown_Hall_EventScript_Painting:: @ 81FD5A0
lockall
call DewfordTown_Hall_EventScript_271E8B
call Common_EventScript_BufferTrendyPhrase
special GetDewfordHallPaintingNameIndex
switch VAR_RESULT
case 0, DewfordTown_Hall_EventScript_1FD607
case 4, DewfordTown_Hall_EventScript_1FD607
case 1, DewfordTown_Hall_EventScript_1FD611
case 5, DewfordTown_Hall_EventScript_1FD607
case 2, DewfordTown_Hall_EventScript_1FD61B
case 6, DewfordTown_Hall_EventScript_1FD61B
case 3, DewfordTown_Hall_EventScript_1FD625
case 7, DewfordTown_Hall_EventScript_1FD61B
case 0, DewfordTown_Hall_EventScript_ScreamTitle
case 4, DewfordTown_Hall_EventScript_ScreamTitle
case 1, DewfordTown_Hall_EventScript_SmileTitle
case 5, DewfordTown_Hall_EventScript_ScreamTitle
case 2, DewfordTown_Hall_EventScript_LastTitle
case 6, DewfordTown_Hall_EventScript_LastTitle
case 3, DewfordTown_Hall_EventScript_BirthTitle
case 7, DewfordTown_Hall_EventScript_LastTitle
end
DewfordTown_Hall_EventScript_1FD607:: @ 81FD607
msgbox DewfordTown_Hall_Text_1FDC05, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_ScreamTitle:: @ 81FD607
msgbox DewfordTown_Hall_Text_TrendsScream, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD611:: @ 81FD611
msgbox DewfordTown_Hall_Text_1FDC21, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_SmileTitle:: @ 81FD611
msgbox DewfordTown_Hall_Text_TrendsSmile, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD61B:: @ 81FD61B
msgbox DewfordTown_Hall_Text_1FDC3C, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_LastTitle:: @ 81FD61B
msgbox DewfordTown_Hall_Text_LastTrend, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD625:: @ 81FD625
msgbox DewfordTown_Hall_Text_1FDC57, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_BirthTitle:: @ 81FD625
msgbox DewfordTown_Hall_Text_BirthOfTrend, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD62F:: @ 81FD62F
DewfordTown_Hall_EventScript_SchoolKidM:: @ 81FD62F
lockall
setvar VAR_0x8008, 0
goto DewfordTown_Hall_EventScript_1FD647
goto DewfordTown_Hall_EventScript_DoTrendDebate
end
DewfordTown_Hall_EventScript_1FD63B:: @ 81FD63B
DewfordTown_Hall_EventScript_PsychicM:: @ 81FD63B
lockall
setvar VAR_0x8008, 1
goto DewfordTown_Hall_EventScript_1FD647
goto DewfordTown_Hall_EventScript_DoTrendDebate
end
DewfordTown_Hall_EventScript_1FD647:: @ 81FD647
call DewfordTown_Hall_EventScript_271E8B
DewfordTown_Hall_EventScript_DoTrendDebate:: @ 81FD647
call Common_EventScript_BufferTrendyPhrase
special GetDewfordHallPaintingNameIndex
switch VAR_RESULT
case 0, DewfordTown_Hall_EventScript_1FD6AD
case 1, DewfordTown_Hall_EventScript_1FD6AD
case 2, DewfordTown_Hall_EventScript_1FD6C9
case 3, DewfordTown_Hall_EventScript_1FD6C9
case 4, DewfordTown_Hall_EventScript_1FD6E5
case 5, DewfordTown_Hall_EventScript_1FD6E5
case 6, DewfordTown_Hall_EventScript_1FD701
case 7, DewfordTown_Hall_EventScript_1FD71D
case 0, DewfordTown_Hall_EventScript_TrendDebate1
case 1, DewfordTown_Hall_EventScript_TrendDebate1
case 2, DewfordTown_Hall_EventScript_TrendDebate2
case 3, DewfordTown_Hall_EventScript_TrendDebate2
case 4, DewfordTown_Hall_EventScript_TrendDebate3
case 5, DewfordTown_Hall_EventScript_TrendDebate3
case 6, DewfordTown_Hall_EventScript_TrendDebate4
case 7, DewfordTown_Hall_EventScript_TrendDebate5
end
DewfordTown_Hall_EventScript_1FD6AD:: @ 81FD6AD
call DewfordTown_Hall_EventScript_1FD73A
msgbox DewfordTown_Hall_Text_1FDC76, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_1FD772
msgbox DewfordTown_Hall_Text_1FDCE2, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_TrendDebate1:: @ 81FD6AD
call DewfordTown_Hall_EventScript_DebateReact1
msgbox DewfordTown_Hall_Text_SawTrendCoolestThing, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_DebateReact2
msgbox DewfordTown_Hall_Text_AllegedTrendNotAuthentic, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD6C9:: @ 81FD6C9
call DewfordTown_Hall_EventScript_1FD73A
msgbox DewfordTown_Hall_Text_1FDD95, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_1FD772
msgbox DewfordTown_Hall_Text_1FDE0E, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_TrendDebate2:: @ 81FD6C9
call DewfordTown_Hall_EventScript_DebateReact1
msgbox DewfordTown_Hall_Text_ComposedTrendThemeSong, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_DebateReact2
msgbox DewfordTown_Hall_Text_WorkOnYourSinging, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD6E5:: @ 81FD6E5
call DewfordTown_Hall_EventScript_1FD73A
msgbox DewfordTown_Hall_Text_1FDE77, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_1FD772
msgbox DewfordTown_Hall_Text_1FDED8, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_TrendDebate3:: @ 81FD6E5
call DewfordTown_Hall_EventScript_DebateReact1
msgbox DewfordTown_Hall_Text_OrganizeTrendParty, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_DebateReact2
msgbox DewfordTown_Hall_Text_BrilliantIndeed, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD701:: @ 81FD701
call DewfordTown_Hall_EventScript_1FD73A
msgbox DewfordTown_Hall_Text_1FDF72, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_1FD772
msgbox DewfordTown_Hall_Text_1FDFF1, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_TrendDebate4:: @ 81FD701
call DewfordTown_Hall_EventScript_DebateReact1
msgbox DewfordTown_Hall_Text_TrendHasBecomePartOfLife, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_DebateReact2
msgbox DewfordTown_Hall_Text_TrendWeighsHeavilyOnMind, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD71D:: @ 81FD71D
call DewfordTown_Hall_EventScript_1FD73A
msgbox DewfordTown_Hall_Text_1FE09A, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_1FD772
msgbox DewfordTown_Hall_Text_1FE0F2, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_TrendDebate5:: @ 81FD71D
call DewfordTown_Hall_EventScript_DebateReact1
msgbox DewfordTown_Hall_Text_IfWeTeamUpWellBeInvincible, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_DebateReact2
msgbox DewfordTown_Hall_Text_WellBeTrendDuo, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1FD739:: @ 81FD739
DewfordTown_Hall_EventScript_DontMovePlayer1:: @ 81FD739
return
DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_1FD7D6
DewfordTown_Hall_EventScript_DebateReact1:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_PsychicWalkInPlaceLeft
waitmovement 0
compare VAR_0x8008, 0
goto_if_eq DewfordTown_Hall_EventScript_1FD75B
goto_if_eq DewfordTown_Hall_EventScript_PlayerReactWest
compare VAR_0x8008, 1
goto_if_eq DewfordTown_Hall_EventScript_1FD771
goto_if_eq DewfordTown_Hall_EventScript_DontMovePlayer2
end
DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B
DewfordTown_Hall_EventScript_PlayerReactWest:: @ 81FD75B
compare VAR_FACING, DIR_EAST
goto_if_eq DewfordTown_Hall_EventScript_1FD739
goto_if_eq DewfordTown_Hall_EventScript_DontMovePlayer1
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
DewfordTown_Hall_EventScript_1FD771:: @ 81FD771
DewfordTown_Hall_EventScript_DontMovePlayer2:: @ 81FD771
return
DewfordTown_Hall_EventScript_1FD772:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_1FD7D8
DewfordTown_Hall_EventScript_DebateReact2:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_SchoolKidWalkInPlaceRight
waitmovement 0
compare VAR_0x8008, 0
goto_if_eq DewfordTown_Hall_EventScript_1FD793
goto_if_eq DewfordTown_Hall_EventScript_PlayerReactNorthSouth
compare VAR_0x8008, 1
goto_if_eq DewfordTown_Hall_EventScript_1FD7C0
goto_if_eq DewfordTown_Hall_EventScript_PlayerReactEast
end
DewfordTown_Hall_EventScript_1FD793:: @ 81FD793
DewfordTown_Hall_EventScript_PlayerReactNorthSouth:: @ 81FD793
compare VAR_FACING, DIR_NORTH
call_if_eq DewfordTown_Hall_EventScript_1FD7AA
call_if_eq DewfordTown_Hall_EventScript_PlayerWalkInPlaceUp
compare VAR_FACING, DIR_SOUTH
call_if_eq DewfordTown_Hall_EventScript_1FD7B5
call_if_eq DewfordTown_Hall_EventScript_PlayerWalkInPlaceDown
return
DewfordTown_Hall_EventScript_1FD7AA:: @ 81FD7AA
DewfordTown_Hall_EventScript_PlayerWalkInPlaceUp:: @ 81FD7AA
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
DewfordTown_Hall_EventScript_1FD7B5:: @ 81FD7B5
DewfordTown_Hall_EventScript_PlayerWalkInPlaceDown:: @ 81FD7B5
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0
DewfordTown_Hall_EventScript_PlayerReactEast:: @ 81FD7C0
compare VAR_FACING, DIR_WEST
goto_if_eq DewfordTown_Hall_EventScript_1FD739
goto_if_eq DewfordTown_Hall_EventScript_DontMovePlayer1
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
DewfordTown_Hall_Movement_1FD7D6: @ 81FD7D6
DewfordTown_Hall_Movement_PsychicWalkInPlaceLeft: @ 81FD7D6
walk_in_place_left
step_end
DewfordTown_Hall_Movement_1FD7D8: @ 81FD7D8
DewfordTown_Hall_Movement_SchoolKidWalkInPlaceRight: @ 81FD7D8
walk_in_place_right
step_end
DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
DewfordTown_Hall_EventScript_SludgeBombMan:: @ 81FD7DA
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
goto_if_set FLAG_RECEIVED_TM36, DewfordTown_Hall_EventScript_1FD80E
msgbox DewfordTown_Hall_Text_1FE142, MSGBOX_DEFAULT
call Common_EventScript_BufferTrendyPhrase
goto_if_set FLAG_RECEIVED_TM36, DewfordTown_Hall_EventScript_ReceivedSludgeBomb
msgbox DewfordTown_Hall_Text_GiveYouSludgeBomb, MSGBOX_DEFAULT
giveitem_std ITEM_TM36
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM36
release
end
DewfordTown_Hall_EventScript_1FD80E:: @ 81FD80E
msgbox DewfordTown_Hall_Text_1FE1ED, MSGBOX_DEFAULT
DewfordTown_Hall_EventScript_ReceivedSludgeBomb:: @ 81FD80E
msgbox DewfordTown_Hall_Text_LoveSludgeBombButTrendInToo, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_Text_1FD818: @ 81FD818
DewfordTown_Hall_Text_CantImagineLifeWithoutTrend: @ 81FD818
.string "What's in vogue? Why, it has to be\n"
.string "{STR_VAR_1}”!\p"
.string "I can't imagine what life would be like\n"
.string "without “{STR_VAR_1}”!$"
DewfordTown_Hall_Text_1FD877: @ 81FD877
DewfordTown_Hall_Text_GettingBoredOfTrend: @ 81FD877
.string "What's in vogue? Why, it has to be\n"
.string "{STR_VAR_1}”!\p"
.string "But I'm getting kind of bored with it.\p"
.string "I should look for the next big thing.$"
DewfordTown_Hall_Text_1FD8ED: @ 81FD8ED
DewfordTown_Hall_Text_TeachingMonAboutTrend: @ 81FD8ED
.string "I'm teaching my POKéMON about\n"
.string "{STR_VAR_1},”\l"
.string "but it's not going well.\p"
.string "It's a bit too much, I think.$"
DewfordTown_Hall_Text_1FD948: @ 81FD948
DewfordTown_Hall_Text_DeepLinkBetweenXAndY: @ 81FD948
.string "I'm studying up on the hip and trendy\n"
.string "{STR_VAR_1}” now.\p"
.string "Is it true that there's a deep link\n"
.string "between “{STR_VAR_1}”\l"
.string "and “{STR_VAR_2}”?$"
DewfordTown_Hall_Text_1FD9B3: @ 81FD9B3
DewfordTown_Hall_Text_MyHunchWasRight: @ 81FD9B3
.string "Oh!\n"
.string "So, my hunch was right!\p"
.string "I'm one step closer to being hip and\n"
.string "happening, yowza!$"
DewfordTown_Hall_Text_1FDA06: @ 81FDA06
DewfordTown_Hall_Text_NotEasyToKeepUp: @ 81FDA06
.string "What?!\n"
.string "Is that so?!\p"
.string "It's not easy for an older fellow like\n"
.string "me to keep up with trends!$"
DewfordTown_Hall_Text_1FDA5C: @ 81FDA5C
DewfordTown_Hall_Text_TVShowAboutTrend: @ 81FDA5C
.string "This whole business about\n"
.string "{STR_VAR_1}”…\l"
.string "Isn't there a TV show on it?$"
DewfordTown_Hall_Text_1FDA99: @ 81FDA99
DewfordTown_Hall_Text_IsTrendMorePopularAcrossSea: @ 81FDA99
.string "Across the sea…\p"
.string "Is “{STR_VAR_1}”\n"
.string "even more popular?$"
DewfordTown_Hall_Text_1FDAC4: @ 81FDAC4
DewfordTown_Hall_Text_CollectTrendMerchandise: @ 81FDAC4
.string "I collect official\n"
.string "{STR_VAR_1}”\l"
.string "licensed merchandise.\p"
@@ -327,7 +327,7 @@ DewfordTown_Hall_Text_1FDAC4: @ 81FDAC4
.string "Heheh, I own!\n"
.string "I'm not sharing anything with you!$"
DewfordTown_Hall_Text_1FDB89: @ 81FDB89
DewfordTown_Hall_Text_BooksAboutTrend: @ 81FDB89
.string "IDENTIFYING GOOD\n"
.string "{STR_VAR_1}” &\l"
.string "BAD “{STR_VAR_1}”…\p"
@@ -339,30 +339,30 @@ DewfordTown_Hall_Text_1FDB89: @ 81FDB89
.string "It's neatly jammed with books about\n"
.string "{STR_VAR_1}.”$"
DewfordTown_Hall_Text_1FDC05: @ 81FDC05
DewfordTown_Hall_Text_TrendsScream: @ 81FDC05
.string "{STR_VAR_1}'S\n"
.string "SCREAM” is the title.$"
DewfordTown_Hall_Text_1FDC21: @ 81FDC21
DewfordTown_Hall_Text_TrendsSmile: @ 81FDC21
.string "{STR_VAR_1}'S\n"
.string "SMILE” is the title.$"
DewfordTown_Hall_Text_1FDC3C: @ 81FDC3C
DewfordTown_Hall_Text_LastTrend: @ 81FDC3C
.string "It's titled “THE LAST\n"
.string "{STR_VAR_1}”.$"
DewfordTown_Hall_Text_1FDC57: @ 81FDC57
DewfordTown_Hall_Text_BirthOfTrend: @ 81FDC57
.string "It's titled “THE BIRTH OF\n"
.string "{STR_VAR_1}”.$"
DewfordTown_Hall_Text_1FDC76: @ 81FDC76
DewfordTown_Hall_Text_SawTrendCoolestThing: @ 81FDC76
.string "I saw “{STR_VAR_1}”!\n"
.string "Cool, huh?\p"
.string "It's, like, the coolest thing going!\p"
.string "It was awesome!\n"
.string "It was the real thing, oh yeah!$"
DewfordTown_Hall_Text_1FDCE2: @ 81FDCE2
DewfordTown_Hall_Text_AllegedTrendNotAuthentic: @ 81FDCE2
.string "Oh, no, no, no.\p"
.string "That alleged\n"
.string "{STR_VAR_1}”\l"
@@ -372,7 +372,7 @@ DewfordTown_Hall_Text_1FDCE2: @ 81FDCE2
.string "Sharper, yet more mellow!\p"
.string "Ah, no matter. It's astonishing!$"
DewfordTown_Hall_Text_1FDD95: @ 81FDD95
DewfordTown_Hall_Text_ComposedTrendThemeSong: @ 81FDD95
.string "Hey, listen, I composed a theme song\n"
.string "for “{STR_VAR_1}.”\p"
.string "{STR_VAR_1}”\n"
@@ -384,20 +384,20 @@ DewfordTown_Hall_Text_1FDD95: @ 81FDD95
.string "Wonderful\n"
.string "{STR_VAR_1}!$"
DewfordTown_Hall_Text_1FDE0E: @ 81FDE0E
DewfordTown_Hall_Text_WorkOnYourSinging: @ 81FDE0E
.string "… …\p"
.string "I dare say, chap, it would pay for you\n"
.string "to work on your singing before you\l"
.string "trifle yourself with\l"
.string "{STR_VAR_1}.”$"
DewfordTown_Hall_Text_1FDE77: @ 81FDE77
DewfordTown_Hall_Text_OrganizeTrendParty: @ 81FDE77
.string "Anyway, as I was saying earlier, we\n"
.string "should get together and organize a\l"
.string "{STR_VAR_1}” party\l"
.string "on the island.$"
DewfordTown_Hall_Text_1FDED8: @ 81FDED8
DewfordTown_Hall_Text_BrilliantIndeed: @ 81FDED8
.string "Oh, a smashing good idea!\p"
.string "It will settle once and for all\n"
.string "who is the best at\l"
@@ -406,14 +406,14 @@ DewfordTown_Hall_Text_1FDED8: @ 81FDED8
.string "Starting today, our lives will revolve\n"
.string "around “{STR_VAR_1}”!$"
DewfordTown_Hall_Text_1FDF72: @ 81FDF72
DewfordTown_Hall_Text_TrendHasBecomePartOfLife: @ 81FDF72
.string "I was thinking, though…\p"
.string "Wouldn't you agree that\n"
.string "{STR_VAR_1}” has\l"
.string "grown from being something trendy to\l"
.string "being a part of our daily lives?$"
DewfordTown_Hall_Text_1FDFF1: @ 81FDFF1
DewfordTown_Hall_Text_TrendWeighsHeavilyOnMind: @ 81FDFF1
.string "Beg pardon?\n"
.string "That much, what?\p"
.string "However, it's true that\n"
@@ -424,19 +424,19 @@ DewfordTown_Hall_Text_1FDFF1: @ 81FDFF1
.string "{STR_VAR_1}”\l"
.string "PROFESSOR, old sport!$"
DewfordTown_Hall_Text_1FE09A: @ 81FE09A
DewfordTown_Hall_Text_IfWeTeamUpWellBeInvincible: @ 81FE09A
.string "If you and me team up as a combo,\n"
.string "we'll be invincible when it comes to all\l"
.string "things “{STR_VAR_1}”!$"
DewfordTown_Hall_Text_1FE0F2: @ 81FE0F2
DewfordTown_Hall_Text_WellBeTrendDuo: @ 81FE0F2
.string "Spot on, my friend!\p"
.string "We shall be the\n"
.string "{STR_VAR_1}” DUO!\p"
.string "Isn't that a ripe image?\n"
.string "Hahahah!$"
DewfordTown_Hall_Text_1FE142: @ 81FE142
DewfordTown_Hall_Text_GiveYouSludgeBomb: @ 81FE142
.string "For me, SLUDGE BOMB is at the peak\n"
.string "of popularity. It's the one.\p"
.string "Hunh? You're telling me that you don't\n"
@@ -444,7 +444,7 @@ DewfordTown_Hall_Text_1FE142: @ 81FE142
.string "That's outright pitiful.\n"
.string "I'll give you one.$"
DewfordTown_Hall_Text_1FE1ED: @ 81FE1ED
DewfordTown_Hall_Text_LoveSludgeBombButTrendInToo: @ 81FE1ED
.string "I love SLUDGE BOMB.\p"
.string "But POKéMON with the move\n"
.string "{STR_VAR_1}”\l"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_1FC3D7",
"script": "DewfordTown_House1_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_1FC3CE",
"script": "DewfordTown_House1_EventScript_Man",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_1FC3E0",
"script": "DewfordTown_House1_EventScript_Zigzagoon",
"flag": "0"
}
],

View File

@@ -1,36 +1,36 @@
DewfordTown_House1_MapScripts:: @ 81FC3CD
.byte 0
DewfordTown_House1_EventScript_1FC3CE:: @ 81FC3CE
msgbox DewfordTown_House1_Text_1FC3F3, MSGBOX_NPC
DewfordTown_House1_EventScript_Man:: @ 81FC3CE
msgbox DewfordTown_House1_Text_LotToBeSaidForLivingOnIsland, MSGBOX_NPC
end
DewfordTown_House1_EventScript_1FC3D7:: @ 81FC3D7
msgbox DewfordTown_House1_Text_1FC45B, MSGBOX_NPC
DewfordTown_House1_EventScript_Woman:: @ 81FC3D7
msgbox DewfordTown_House1_Text_LifeGoesSlowlyOnIsland, MSGBOX_NPC
end
DewfordTown_House1_EventScript_1FC3E0:: @ 81FC3E0
DewfordTown_House1_EventScript_Zigzagoon:: @ 81FC3E0
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox DewfordTown_House1_Text_1FC510, MSGBOX_DEFAULT
msgbox DewfordTown_House1_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
DewfordTown_House1_Text_1FC3F3: @ 81FC3F3
DewfordTown_House1_Text_LotToBeSaidForLivingOnIsland: @ 81FC3F3
.string "There's a lot to be said for living on\n"
.string "a small island like this in harmony with\l"
.string "POKéMON and the family.$"
DewfordTown_House1_Text_1FC45B: @ 81FC45B
DewfordTown_House1_Text_LifeGoesSlowlyOnIsland: @ 81FC45B
.string "I left the major port of SLATEPORT\n"
.string "CITY when I married my husband here.\p"
.string "Life goes by slowly on this little\n"
.string "island. But being surrounded by the\l"
.string "beautiful sea--that's happiness, too.$"
DewfordTown_House1_Text_1FC510: @ 81FC510
DewfordTown_House1_Text_Zigzagoon: @ 81FC510
.string "ZIGZAGOON: Guguuh!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House2_EventScript_1FE22E",
"script": "DewfordTown_House2_EventScript_Man",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House2_EventScript_1FE271",
"script": "DewfordTown_House2_EventScript_Boy",
"flag": "0"
}
],

View File

@@ -1,33 +1,33 @@
DewfordTown_House2_MapScripts:: @ 81FE22D
.byte 0
DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
DewfordTown_House2_EventScript_Man:: @ 81FE22E
lock
faceplayer
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, MSGBOX_DEFAULT
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_ExplainSilkScarf
msgbox DewfordTown_House2_Text_WantYouToHaveSilkScarf, MSGBOX_DEFAULT
giveitem_std ITEM_SILK_SCARF
compare VAR_RESULT, 0
goto_if_eq DewfordTown_House2_EventScript_1FE25D
compare VAR_RESULT, FALSE
goto_if_eq DewfordTown_House2_EventScript_NoRoomForScarf
setflag FLAG_RECEIVED_SILK_SCARF
release
end
DewfordTown_House2_EventScript_1FE25D:: @ 81FE25D
msgbox DewfordTown_House2_Text_1FE356, MSGBOX_DEFAULT
DewfordTown_House2_EventScript_NoRoomForScarf:: @ 81FE25D
msgbox DewfordTown_House2_Text_NoRoom, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_1FE267:: @ 81FE267
msgbox DewfordTown_House2_Text_1FE3D1, MSGBOX_DEFAULT
DewfordTown_House2_EventScript_ExplainSilkScarf:: @ 81FE267
msgbox DewfordTown_House2_Text_ExplainSilkScarf, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_1FE271:: @ 81FE271
msgbox DewfordTown_House2_Text_1FE444, MSGBOX_NPC
DewfordTown_House2_EventScript_Boy:: @ 81FE271
msgbox DewfordTown_House2_Text_BrawlySoCool, MSGBOX_NPC
end
DewfordTown_House2_Text_1FE27A: @ 81FE27A
DewfordTown_House2_Text_WantYouToHaveSilkScarf: @ 81FE27A
.string "Gorge your eyes on this!\p"
.string "It's a SILK SCARF. It's right at the\n"
.string "cutting edge of fashion, yeah!\p"
@@ -36,19 +36,19 @@ DewfordTown_House2_Text_1FE27A: @ 81FE27A
.string "Oh, you're a delight!\n"
.string "Here you go. I want you to have it!$"
DewfordTown_House2_Text_1FE356: @ 81FE356
DewfordTown_House2_Text_NoRoom: @ 81FE356
.string "Oh, you don't have room?\p"
.string "Now, listen tight, this SCARF is a must-\n"
.string "have! Why, I would sell all my items\l"
.string "in order to get it!$"
DewfordTown_House2_Text_1FE3D1: @ 81FE3D1
DewfordTown_House2_Text_ExplainSilkScarf: @ 81FE3D1
.string "The SILK SCARF raises the power of\n"
.string "NORMAL-type moves.\p"
.string "It's a marvelous SCARF that will go\n"
.string "with almost all POKéMON!$"
DewfordTown_House2_Text_1FE444: @ 81FE444
DewfordTown_House2_Text_BrawlySoCool: @ 81FE444
.string "Wow, you bothered to cross the sea\n"
.string "to visit DEWFORD?\p"
.string "Did you maybe come here because you\n"

View File

@@ -58,7 +58,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -67,7 +67,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -76,7 +76,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -85,7 +85,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -94,7 +94,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -103,7 +103,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -112,7 +112,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -121,7 +121,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -130,7 +130,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -139,7 +139,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
},
{
"type": "trigger",
@@ -148,7 +148,7 @@
"elevation": 1,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "EverGrandeCity_EventScript_1E7D46"
"script": "EverGrandeCity_EventScript_SetVisitedEverGrande"
}
],
"bg_events": [
@@ -158,7 +158,7 @@
"y": 43,
"elevation": 5,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EverGrandeCity_EventScript_1E7D2B"
"script": "EverGrandeCity_EventScript_VictoryRoadSign"
},
{
"type": "sign",
@@ -174,7 +174,7 @@
"y": 52,
"elevation": 5,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EverGrandeCity_EventScript_1E7D34"
"script": "EverGrandeCity_EventScript_CitySign"
},
{
"type": "sign",
@@ -182,7 +182,7 @@
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EverGrandeCity_EventScript_1E7D3D"
"script": "EverGrandeCity_EventScript_PokemonLeagueSign"
},
{
"type": "sign",

View File

@@ -6,31 +6,31 @@ EverGrandeCity_OnTransition: @ 81E7D21
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
end
EverGrandeCity_EventScript_1E7D2B:: @ 81E7D2B
msgbox EverGrandeCity_Text_1E7D4F, MSGBOX_SIGN
EverGrandeCity_EventScript_VictoryRoadSign:: @ 81E7D2B
msgbox EverGrandeCity_Text_EnteringVictoryRoad, MSGBOX_SIGN
end
EverGrandeCity_EventScript_1E7D34:: @ 81E7D34
msgbox EverGrandeCity_Text_1E7D89, MSGBOX_SIGN
EverGrandeCity_EventScript_CitySign:: @ 81E7D34
msgbox EverGrandeCity_Text_CitySign, MSGBOX_SIGN
end
EverGrandeCity_EventScript_1E7D3D:: @ 81E7D3D
msgbox EverGrandeCity_Text_1E7D65, MSGBOX_SIGN
EverGrandeCity_EventScript_PokemonLeagueSign:: @ 81E7D3D
msgbox EverGrandeCity_Text_EnteringPokemonLeague, MSGBOX_SIGN
end
EverGrandeCity_EventScript_1E7D46:: @ 81E7D46
EverGrandeCity_EventScript_SetVisitedEverGrande:: @ 81E7D46
setflag FLAG_VISITED_EVER_GRANDE_CITY
setvar VAR_TEMP_1, 1
end
EverGrandeCity_Text_1E7D4F: @ 81E7D4F
EverGrandeCity_Text_EnteringVictoryRoad: @ 81E7D4F
.string "ENTERING VICTORY ROAD$"
EverGrandeCity_Text_1E7D65: @ 81E7D65
EverGrandeCity_Text_EnteringPokemonLeague: @ 81E7D65
.string "ENTERING POKéMON LEAGUE\n"
.string "CENTER GATE$"
EverGrandeCity_Text_1E7D89: @ 81E7D89
EverGrandeCity_Text_CitySign: @ 81E7D89
.string "EVER GRANDE CITY\p"
.string "“The paradise of flowers, the sea,\n"
.string "and POKéMON.”$"

View File

@@ -1,12 +1,12 @@
EverGrandeCity_Hall1_MapScripts:: @ 8229569
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall1_MapScript2_22956F
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall1_OnWarp
.byte 0
EverGrandeCity_Hall1_MapScript2_22956F: @ 822956F
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall1_EventScript_229579
EverGrandeCity_Hall1_OnWarp: @ 822956F
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall1_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_Hall1_EventScript_229579:: @ 8229579
EverGrandeCity_Hall1_EventScript_TurnPlayerNorth:: @ 8229579
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end

View File

@@ -1,12 +1,12 @@
EverGrandeCity_Hall2_MapScripts:: @ 822957E
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall2_MapScript2_229584
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall2_OnWarp
.byte 0
EverGrandeCity_Hall2_MapScript2_229584: @ 8229584
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall2_EventScript_22958E
EverGrandeCity_Hall2_OnWarp: @ 8229584
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall2_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_Hall2_EventScript_22958E:: @ 822958E
EverGrandeCity_Hall2_EventScript_TurnPlayerNorth:: @ 822958E
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end

View File

@@ -1,12 +1,12 @@
EverGrandeCity_Hall3_MapScripts:: @ 8229593
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall3_MapScript2_229599
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall3_OnWarp
.byte 0
EverGrandeCity_Hall3_MapScript2_229599: @ 8229599
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall3_EventScript_2295A3
EverGrandeCity_Hall3_OnWarp: @ 8229599
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall3_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_Hall3_EventScript_2295A3:: @ 82295A3
EverGrandeCity_Hall3_EventScript_TurnPlayerNorth:: @ 82295A3
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end

View File

@@ -1,12 +1,12 @@
EverGrandeCity_Hall4_MapScripts:: @ 82295A8
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall4_MapScript2_2295AE
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall4_OnWarp
.byte 0
EverGrandeCity_Hall4_MapScript2_2295AE: @ 82295AE
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall4_EventScript_2295B8
EverGrandeCity_Hall4_OnWarp: @ 82295AE
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall4_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_Hall4_EventScript_2295B8:: @ 82295B8
EverGrandeCity_Hall4_EventScript_TurnPlayerNorth:: @ 82295B8
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end

View File

@@ -1,12 +1,12 @@
EverGrandeCity_Hall5_MapScripts:: @ 82295BD
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall5_MapScript2_2295C3
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_Hall5_OnWarp
.byte 0
EverGrandeCity_Hall5_MapScript2_2295C3: @ 82295C3
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall5_EventScript_2295CD
EverGrandeCity_Hall5_OnWarp: @ 82295C3
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_Hall5_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_Hall5_EventScript_2295CD:: @ 82295CD
EverGrandeCity_Hall5_EventScript_TurnPlayerNorth:: @ 82295CD
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end

View File

@@ -1,38 +1,38 @@
EverGrandeCity_HallOfFame_MapScripts:: @ 822982C
map_script MAP_SCRIPT_ON_FRAME_TABLE, EverGrandeCity_HallOfFame_MapScript2_229846
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_HallOfFame_MapScript2_229837
map_script MAP_SCRIPT_ON_FRAME_TABLE, EverGrandeCity_HallOfFame_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_HallOfFame_OnWarp
.byte 0
EverGrandeCity_HallOfFame_MapScript2_229837: @ 8229837
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_229841
EverGrandeCity_HallOfFame_OnWarp: @ 8229837
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth
.2byte 0
EverGrandeCity_HallOfFame_EventScript_229841:: @ 8229841
EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth:: @ 8229841
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end
EverGrandeCity_HallOfFame_MapScript2_229846: @ 8229846
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_229850
EverGrandeCity_HallOfFame_OnFrame: @ 8229846
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame
.2byte 0
EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame:: @ 8229850
lockall
applymovement 1, EverGrandeCity_HallOfFame_Movement_229901
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_229901
applymovement 1, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
waitmovement 0
applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox EverGrandeCity_HallOfFame_Text_22990E, MSGBOX_DEFAULT
msgbox EverGrandeCity_HallOfFame_Text_HereWeHonorLeagueChampions, MSGBOX_DEFAULT
closemessage
applymovement 1, EverGrandeCity_HallOfFame_Movement_229908
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_229908
applymovement 1, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
waitmovement 0
delay 20
applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox EverGrandeCity_HallOfFame_Text_2299A3, MSGBOX_DEFAULT
msgbox EverGrandeCity_HallOfFame_Text_LetsRecordYouAndYourPartnersNames, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_WalkInPlaceFastestUp
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
@@ -42,15 +42,15 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
waitfieldeffect FLDEFF_HALL_OF_FAME_RECORD
delay 40
setvar VAR_TEMP_1, 1
call EverGrandeCity_HallOfFame_EventScript_2717C1
call EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298E9
goto_if_eq EverGrandeCity_HallOfFame_EventScript_GameClearMale
compare VAR_RESULT, FEMALE
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298F5
goto_if_eq EverGrandeCity_HallOfFame_EventScript_GameClearFemale
end
EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
EverGrandeCity_HallOfFame_EventScript_GameClearMale:: @ 82298E9
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F
fadescreenspeed 1, 24
special GameClear
@@ -58,7 +58,7 @@ EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
releaseall
end
EverGrandeCity_HallOfFame_EventScript_2298F5:: @ 82298F5
EverGrandeCity_HallOfFame_EventScript_GameClearFemale:: @ 82298F5
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F
fadescreenspeed 1, 24
special GameClear
@@ -66,7 +66,7 @@ EverGrandeCity_HallOfFame_EventScript_2298F5:: @ 82298F5
releaseall
end
EverGrandeCity_HallOfFame_Movement_229901: @ 8229901
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1: @ 8229901
walk_up
walk_up
walk_up
@@ -75,7 +75,7 @@ EverGrandeCity_HallOfFame_Movement_229901: @ 8229901
walk_up
step_end
EverGrandeCity_HallOfFame_Movement_229908: @ 8229908
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2: @ 8229908
walk_up
walk_up
walk_up
@@ -83,7 +83,7 @@ EverGrandeCity_HallOfFame_Movement_229908: @ 8229908
walk_up
step_end
EverGrandeCity_HallOfFame_Text_22990E: @ 822990E
EverGrandeCity_HallOfFame_Text_HereWeHonorLeagueChampions: @ 822990E
.string "WALLACE: This room…\p"
.string "This is where we keep records of\n"
.string "POKéMON that prevailed through\l"
@@ -91,7 +91,7 @@ EverGrandeCity_HallOfFame_Text_22990E: @ 822990E
.string "It is here that the LEAGUE CHAMPIONS\n"
.string "are honored.$"
EverGrandeCity_HallOfFame_Text_2299A3: @ 82299A3
EverGrandeCity_HallOfFame_Text_LetsRecordYouAndYourPartnersNames: @ 82299A3
.string "WALLACE: Come on, let's record your\n"
.string "name as a TRAINER who triumphed over\l"
.string "the POKéMON LEAGUE, and the names of\l"

View File

@@ -35,7 +35,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25B6",
"script": "FortreeCity_EventScript_Man",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25DE",
"script": "FortreeCity_EventScript_Girl",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25BF",
"script": "FortreeCity_EventScript_Woman",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25F0",
"script": "FortreeCity_EventScript_Boy",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25E7",
"script": "FortreeCity_EventScript_OldMan",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E25F9",
"script": "FortreeCity_EventScript_GameboyKid",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_1E2614",
"script": "FortreeCity_EventScript_Kecleon",
"flag": "FLAG_HIDE_FORTREE_CITY_KECLEON"
}
],
@@ -190,7 +190,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "FortreeCity_EventScript_1E2602"
"script": "FortreeCity_EventScript_CitySign"
},
{
"type": "sign",
@@ -214,7 +214,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "FortreeCity_EventScript_1E260B"
"script": "FortreeCity_EventScript_GymSign"
},
{
"type": "sign",

View File

@@ -1,76 +1,76 @@
FortreeCity_MapScripts:: @ 81E25A4
map_script MAP_SCRIPT_ON_TRANSITION, FortreeCity_OnTransition
map_script MAP_SCRIPT_ON_RESUME, FortreeCity_MapScript1_1E25B3
map_script MAP_SCRIPT_ON_RESUME, FortreeCity_OnResume
.byte 0
FortreeCity_OnTransition: @ 81E25AF
setflag FLAG_VISITED_FORTREE_CITY
end
FortreeCity_MapScript1_1E25B3: @ 81E25B3
FortreeCity_OnResume: @ 81E25B3
setstepcallback STEP_CB_FORTREE_BRIDGE
end
FortreeCity_EventScript_1E25B6:: @ 81E25B6
msgbox FortreeCity_Text_1E2676, MSGBOX_NPC
FortreeCity_EventScript_Man:: @ 81E25B6
msgbox FortreeCity_Text_SawGiganticPokemonInSky, MSGBOX_NPC
end
FortreeCity_EventScript_1E25BF:: @ 81E25BF
FortreeCity_EventScript_Woman:: @ 81E25BF
lock
faceplayer
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_1E25D4
msgbox FortreeCity_Text_1E2738, MSGBOX_DEFAULT
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_WomanGymAccessible
msgbox FortreeCity_Text_SomethingBlockingGym, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E25D4:: @ 81E25D4
msgbox FortreeCity_Text_1E27B6, MSGBOX_DEFAULT
FortreeCity_EventScript_WomanGymAccessible:: @ 81E25D4
msgbox FortreeCity_Text_ThisTimeIllBeatWinona, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E25DE:: @ 81E25DE
msgbox FortreeCity_Text_1E27FE, MSGBOX_NPC
FortreeCity_EventScript_Girl:: @ 81E25DE
msgbox FortreeCity_Text_TreesGrowByDrinkingRainwater, MSGBOX_NPC
end
FortreeCity_EventScript_1E25E7:: @ 81E25E7
msgbox FortreeCity_Text_1E2880, MSGBOX_NPC
FortreeCity_EventScript_OldMan:: @ 81E25E7
msgbox FortreeCity_Text_EveryoneHealthyAndLively, MSGBOX_NPC
end
FortreeCity_EventScript_1E25F0:: @ 81E25F0
msgbox FortreeCity_Text_1E292E, MSGBOX_NPC
FortreeCity_EventScript_Boy:: @ 81E25F0
msgbox FortreeCity_Text_BugPokemonComeThroughWindow, MSGBOX_NPC
end
FortreeCity_EventScript_1E25F9:: @ 81E25F9
msgbox FortreeCity_Text_1E299D, MSGBOX_NPC
FortreeCity_EventScript_GameboyKid:: @ 81E25F9
msgbox FortreeCity_Text_PokemonThatEvolveWhenTraded, MSGBOX_NPC
end
FortreeCity_EventScript_1E2602:: @ 81E2602
msgbox FortreeCity_Text_1E2AAC, MSGBOX_SIGN
FortreeCity_EventScript_CitySign:: @ 81E2602
msgbox FortreeCity_Text_CitySign, MSGBOX_SIGN
end
FortreeCity_EventScript_1E260B:: @ 81E260B
msgbox FortreeCity_Text_1E2AE6, MSGBOX_SIGN
FortreeCity_EventScript_GymSign:: @ 81E260B
msgbox FortreeCity_Text_GymSign, MSGBOX_SIGN
end
FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_Kecleon:: @ 81E2614
lock
faceplayer
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_if_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq FortreeCity_EventScript_AskUseDevonScope
msgbox FortreeCity_Text_SomethingUnseeable, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO
FortreeCity_EventScript_AskUseDevonScope:: @ 81E2630
msgbox FortreeCity_Text_UnseeableUseDevonScope, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq FortreeCity_EventScript_1E2645
goto_if_eq FortreeCity_EventScript_UseDevonScope
release
end
FortreeCity_EventScript_1E2645:: @ 81E2645
msgbox FortreeCity_Text_1E2A48, MSGBOX_DEFAULT
FortreeCity_EventScript_UseDevonScope:: @ 81E2645
msgbox FortreeCity_Text_UsedDevonScopePokemonFled, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Movement_KecleonAppears
waitmovement 0
@@ -78,18 +78,18 @@ FortreeCity_EventScript_1E2645:: @ 81E2645
playmoncry SPECIES_KECLEON, 2
delay 40
waitmoncry
applymovement VAR_LAST_TALKED, FortreeCity_Movement_1E2674
applymovement VAR_LAST_TALKED, FortreeCity_Movement_KecleonFlee
waitmovement 0
removeobject VAR_LAST_TALKED
setflag FLAG_KECLEON_FLED_FORTREE
release
end
FortreeCity_Movement_1E2674: @ 81E2674
FortreeCity_Movement_KecleonFlee: @ 81E2674
walk_right
step_end
FortreeCity_Text_1E2676: @ 81E2676
FortreeCity_Text_SawGiganticPokemonInSky: @ 81E2676
.string "No one believes me, but I saw this\n"
.string "gigantic POKéMON in the sky.\p"
.string "It seemed to squirm as it flew toward\n"
@@ -98,23 +98,23 @@ FortreeCity_Text_1E2676: @ 81E2676
.string "Um… You, uh…smell singed.\p"
.string "Were you at a volcano or something?$"
FortreeCity_Text_1E2738: @ 81E2738
FortreeCity_Text_SomethingBlockingGym: @ 81E2738
.string "I want to go to the POKéMON GYM,\n"
.string "but something's blocking the way.\p"
.string "After all the bother I went through\n"
.string "training on ROUTE 120…$"
FortreeCity_Text_1E27B6: @ 81E27B6
FortreeCity_Text_ThisTimeIllBeatWinona: @ 81E27B6
.string "I've got my pride-and-joy POKéMON\n"
.string "with me. This time, I'll beat WINONA.$"
FortreeCity_Text_1E27FE: @ 81E27FE
FortreeCity_Text_TreesGrowByDrinkingRainwater: @ 81E27FE
.string "The ground absorbs rainwater, and\n"
.string "trees grow by drinking that water…\p"
.string "Our FORTREE CITY exists because\n"
.string "there's both water and soil.$"
FortreeCity_Text_1E2880: @ 81E2880
FortreeCity_Text_EveryoneHealthyAndLively: @ 81E2880
.string "The CITY consists of homes built on\n"
.string "trees.\p"
.string "Perhaps because of that lifestyle,\n"
@@ -122,35 +122,35 @@ FortreeCity_Text_1E2880: @ 81E2880
.string "Why, even myself--I feel as if I've\n"
.string "grown thirty years younger.$"
FortreeCity_Text_1E292E: @ 81E292E
FortreeCity_Text_BugPokemonComeThroughWindow: @ 81E292E
.string "Living on top of trees is okay.\p"
.string "But sometimes BUG POKéMON come in\n"
.string "through windows.\l"
.string "It can be really startling.$"
FortreeCity_Text_1E299D: @ 81E299D
FortreeCity_Text_PokemonThatEvolveWhenTraded: @ 81E299D
.string "There are POKéMON that evolve when\n"
.string "you trade them! That's what I heard.$"
FortreeCity_Text_1E29E5: @ 81E29E5
FortreeCity_Text_SomethingUnseeable: @ 81E29E5
.string "Something unseeable is in the way.$"
FortreeCity_Text_1E2A08: @ 81E2A08
FortreeCity_Text_UnseeableUseDevonScope: @ 81E2A08
.string "Something unseeable is in the way.\p"
.string "Want to use the DEVON SCOPE?$"
FortreeCity_Text_1E2A48: @ 81E2A48
FortreeCity_Text_UsedDevonScopePokemonFled: @ 81E2A48
.string "{PLAYER} used the DEVON SCOPE.\p"
.string "An invisible POKéMON became completely\n"
.string "visible!\p"
.string "The startled POKéMON fled!$"
FortreeCity_Text_1E2AAC: @ 81E2AAC
FortreeCity_Text_CitySign: @ 81E2AAC
.string "FORTREE CITY\n"
.string "“The treetop city that frolics with\l"
.string "nature.”$"
FortreeCity_Text_1E2AE6: @ 81E2AE6
FortreeCity_Text_GymSign: @ 81E2AE6
.string "FORTREE CITY POKéMON GYM\n"
.string "LEADER: WINONA\p"
.string "“The bird user taking flight into\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_21800E",
"script": "FortreeCity_DecorationShop_EventScript_PokefanM",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_218017",
"script": "FortreeCity_DecorationShop_EventScript_Girl",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_218020",
"script": "FortreeCity_DecorationShop_EventScript_ClerkDesks",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_21804C",
"script": "FortreeCity_DecorationShop_EventScript_ClerkChairs",
"flag": "0"
}
],

View File

@@ -1,15 +1,15 @@
FortreeCity_DecorationShop_MapScripts:: @ 821800D
.byte 0
FortreeCity_DecorationShop_EventScript_21800E:: @ 821800E
msgbox FortreeCity_DecorationShop_Text_218078, MSGBOX_NPC
FortreeCity_DecorationShop_EventScript_PokefanM:: @ 821800E
msgbox FortreeCity_DecorationShop_Text_MerchandiseSentToPC, MSGBOX_NPC
end
FortreeCity_DecorationShop_EventScript_218017:: @ 8218017
msgbox FortreeCity_DecorationShop_Text_2180ED, MSGBOX_NPC
FortreeCity_DecorationShop_EventScript_Girl:: @ 8218017
msgbox FortreeCity_DecorationShop_Text_BuyingDeskForDolls, MSGBOX_NPC
end
FortreeCity_DecorationShop_EventScript_218020:: @ 8218020
FortreeCity_DecorationShop_EventScript_ClerkDesks:: @ 8218020
lock
faceplayer
message gText_HowMayIServeYou
@@ -33,7 +33,7 @@ FortreeCity_DecorationShop_PokemartDecor_Desks: @ 8218038
release
end
FortreeCity_DecorationShop_EventScript_21804C:: @ 821804C
FortreeCity_DecorationShop_EventScript_ClerkChairs:: @ 821804C
lock
faceplayer
message gText_HowMayIServeYou
@@ -57,13 +57,13 @@ FortreeCity_DecorationShop_PokemartDecor_Chairs: @ 8218064
release
end
FortreeCity_DecorationShop_Text_218078: @ 8218078
FortreeCity_DecorationShop_Text_MerchandiseSentToPC: @ 8218078
.string "Merchandise you buy here is sent to\n"
.string "your own PC.\p"
.string "That's fantastic! I wish they could\n"
.string "also deliver me home like that.$"
FortreeCity_DecorationShop_Text_2180ED: @ 82180ED
FortreeCity_DecorationShop_Text_BuyingDeskForDolls: @ 82180ED
.string "I'm buying a pretty desk and I'm\n"
.string "putting my cute DOLLS on it.\p"
.string "If I don't, when I decorate my\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_2162BB",
"script": "FortreeCity_House1_EventScript_Trader",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_216368",
"script": "FortreeCity_House1_EventScript_Zigzagoon",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_21635F",
"script": "FortreeCity_House1_EventScript_ExpertF",
"flag": "0"
}
],

View File

@@ -1,69 +1,69 @@
FortreeCity_House1_MapScripts:: @ 82162BA
.byte 0
FortreeCity_House1_EventScript_2162BB:: @ 82162BB
FortreeCity_House1_EventScript_Trader:: @ 82162BB
lock
faceplayer
goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_216355
goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_PLUSLE
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
msgbox FortreeCity_House1_Text_YouWillTradeWontYou, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq FortreeCity_House1_EventScript_21633D
goto_if_eq FortreeCity_House1_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
goto_if_eq FortreeCity_House1_EventScript_21633D
goto_if_eq FortreeCity_House1_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
goto_if_ne FortreeCity_House1_EventScript_216347
goto_if_ne FortreeCity_House1_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
bufferspeciesname 0, VAR_0x8009
msgbox FortreeCity_House1_Text_216440, MSGBOX_DEFAULT
msgbox FortreeCity_House1_Text_MonYouTakeCare, MSGBOX_DEFAULT
setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
release
end
FortreeCity_House1_EventScript_21633D:: @ 821633D
msgbox FortreeCity_House1_Text_21649F, MSGBOX_DEFAULT
FortreeCity_House1_EventScript_DeclineTrade:: @ 821633D
msgbox FortreeCity_House1_Text_YouWontTradeMe, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_216347:: @ 8216347
FortreeCity_House1_EventScript_NotRequestedMon:: @ 8216347
bufferspeciesname 0, VAR_0x8009
msgbox FortreeCity_House1_Text_216474, MSGBOX_DEFAULT
msgbox FortreeCity_House1_Text_ThisIsntAMon, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_216355:: @ 8216355
msgbox FortreeCity_House1_Text_2164DB, MSGBOX_DEFAULT
FortreeCity_House1_EventScript_TradeCompleted:: @ 8216355
msgbox FortreeCity_House1_Text_GoingToMakeVolbeatStrong, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_21635F:: @ 821635F
msgbox FortreeCity_House1_Text_21653B, MSGBOX_NPC
FortreeCity_House1_EventScript_ExpertF:: @ 821635F
msgbox FortreeCity_House1_Text_TradingMemoriesWithOthers, MSGBOX_NPC
end
FortreeCity_House1_EventScript_216368:: @ 8216368
FortreeCity_House1_EventScript_Zigzagoon:: @ 8216368
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox FortreeCity_House1_Text_216597, MSGBOX_DEFAULT
msgbox FortreeCity_House1_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
FortreeCity_House1_Text_21637B: @ 821637B
FortreeCity_House1_Text_YouWillTradeWontYou: @ 821637B
.string "Wrooooaaar! I need it!\n"
.string "I have to get me a {STR_VAR_1}!\l"
.string "I'll do anything for it!\p"
@@ -73,29 +73,29 @@ FortreeCity_House1_Text_21637B: @ 821637B
.string "your {STR_VAR_1} for my {STR_VAR_2},\l"
.string "won't you?$"
FortreeCity_House1_Text_216440: @ 8216440
FortreeCity_House1_Text_MonYouTakeCare: @ 8216440
.string "Oh, yeah, right on!\p"
.string "{STR_VAR_1}, welcome!\n"
.string "{STR_VAR_2}, you take care!$"
FortreeCity_House1_Text_216474: @ 8216474
FortreeCity_House1_Text_ThisIsntAMon: @ 8216474
.string "Uh, no, I don't think so.\n"
.string "That isn't a {STR_VAR_1}.$"
FortreeCity_House1_Text_21649F: @ 821649F
FortreeCity_House1_Text_YouWontTradeMe: @ 821649F
.string "No? You won't trade me?\n"
.string "Even after I bared my heart to you?$"
FortreeCity_House1_Text_2164DB: @ 82164DB
FortreeCity_House1_Text_GoingToMakeVolbeatStrong: @ 82164DB
.string "I'm going to make VOLBEAT super\n"
.string "strong from this moment on!\p"
.string "I hope you do the same with PLUSLE!$"
FortreeCity_House1_Text_21653B: @ 821653B
FortreeCity_House1_Text_TradingMemoriesWithOthers: @ 821653B
.string "Trading POKéMON with others…\p"
.string "It's as if you're trading your own\n"
.string "memories with other people.$"
FortreeCity_House1_Text_216597: @ 8216597
FortreeCity_House1_Text_Zigzagoon: @ 8216597
.string "ZIGZAGOON: Gumomoh?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House2_EventScript_2177CB",
"script": "FortreeCity_House2_EventScript_HiddenPowerGiver",
"flag": "0"
},
{

View File

@@ -1,82 +1,82 @@
FortreeCity_House2_MapScripts:: @ 82177CA
.byte 0
FortreeCity_House2_EventScript_2177CB:: @ 82177CB
FortreeCity_House2_EventScript_HiddenPowerGiver:: @ 82177CB
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM10, FortreeCity_House2_EventScript_21786E
call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_217862
msgbox FortreeCity_House2_Text_2178D6, MSGBOX_DEFAULT
goto_if_set FLAG_RECEIVED_TM10, FortreeCity_House2_EventScript_ExplainHiddenPower
call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_Greeting
msgbox FortreeCity_House2_Text_CoinInWhichHand, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, 1
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_217878
msgbox FortreeCity_House2_Text_21796A, MSGBOX_DEFAULT
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, 1
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_217878
msgbox FortreeCity_House2_Text_2179C9, MSGBOX_DEFAULT
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand2, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, 1
switch VAR_RESULT
case 0, FortreeCity_House2_EventScript_217878
msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT
case 0, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
giveitem_std ITEM_TM10
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM10
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_217862:: @ 8217862
msgbox FortreeCity_House2_Text_217882, MSGBOX_DEFAULT
FortreeCity_House2_EventScript_Greeting:: @ 8217862
msgbox FortreeCity_House2_Text_HiddenPowersArousedByNature, MSGBOX_DEFAULT
setflag FLAG_MET_HIDDEN_POWER_GIVER
return
FortreeCity_House2_EventScript_21786E:: @ 821786E
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
FortreeCity_House2_EventScript_ExplainHiddenPower:: @ 821786E
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_217878:: @ 8217878
msgbox FortreeCity_House2_Text_217AC7, MSGBOX_DEFAULT
FortreeCity_House2_EventScript_WrongGuess:: @ 8217878
msgbox FortreeCity_House2_Text_YouGuessedWrong, MSGBOX_DEFAULT
release
end
FortreeCity_House2_Text_217882: @ 8217882
FortreeCity_House2_Text_HiddenPowersArousedByNature: @ 8217882
.string "People… POKéMON…\p"
.string "Their hidden powers are aroused by\n"
.string "living in natural environments…$"
FortreeCity_House2_Text_2178D6: @ 82178D6
FortreeCity_House2_Text_CoinInWhichHand: @ 82178D6
.string "Let this old woman see if your hidden\n"
.string "power has awoken…\p"
.string "I hold a coin in my hand.\p"
.string "Now, tell me, have I palmed it in\n"
.string "the right hand? Or in the left?$"
FortreeCity_House2_Text_21796A: @ 821796A
FortreeCity_House2_Text_CorrectTryAgainWhichHand: @ 821796A
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
FortreeCity_House2_Text_2179C9: @ 82179C9
FortreeCity_House2_Text_CorrectTryAgainWhichHand2: @ 82179C9
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
FortreeCity_House2_Text_217A28: @ 8217A28
FortreeCity_House2_Text_YourHiddenPowerHasAwoken: @ 8217A28
.string "Oh! Splendid!\n"
.string "Your hidden power has awoken!\p"
.string "Here, take this and awaken the hidden\n"
.string "power of your POKéMON.$"
FortreeCity_House2_Text_217A91: @ 8217A91
FortreeCity_House2_Text_ExplainHiddenPower: @ 8217A91
.string "HIDDEN POWER is a move that changes\n"
.string "with the POKéMON.$"
FortreeCity_House2_Text_217AC7: @ 8217AC7
FortreeCity_House2_Text_YouGuessedWrong: @ 8217AC7
.string "No, too bad.\n"
.string "You guessed wrong.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House3_EventScript_217AE8",
"script": "FortreeCity_House3_EventScript_Maniac",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House3_EventScript_217AF1",
"script": "FortreeCity_House3_EventScript_SchoolKidM",
"flag": "0"
}
],

View File

@@ -1,15 +1,15 @@
FortreeCity_House3_MapScripts:: @ 8217AE7
.byte 0
FortreeCity_House3_EventScript_217AE8:: @ 8217AE8
msgbox FortreeCity_House3_Text_217AFA, MSGBOX_NPC
FortreeCity_House3_EventScript_Maniac:: @ 8217AE8
msgbox FortreeCity_House3_Text_MetStevenHadAmazingPokemon, MSGBOX_NPC
end
FortreeCity_House3_EventScript_217AF1:: @ 8217AF1
msgbox FortreeCity_House3_Text_217C22, MSGBOX_NPC
FortreeCity_House3_EventScript_SchoolKidM:: @ 8217AF1
msgbox FortreeCity_House3_Text_OhYouHavePokedex, MSGBOX_NPC
end
FortreeCity_House3_Text_217AFA: @ 8217AFA
FortreeCity_House3_Text_MetStevenHadAmazingPokemon: @ 8217AFA
.string "While speaking about POKéDEXES,\n"
.string "I remembered something.\p"
.string "I met this TRAINER, STEVEN, when\n"
@@ -21,7 +21,7 @@ FortreeCity_House3_Text_217AFA: @ 8217AFA
.string "He might even be stronger than the\n"
.string "GYM LEADER in this town…$"
FortreeCity_House3_Text_217C22: @ 8217C22
FortreeCity_House3_Text_OhYouHavePokedex: @ 8217C22
.string "What's that thing you have there?\p"
.string "… … … … … …\p"
.string "Oh, it's called a POKéDEX?\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_217C81",
"script": "FortreeCity_House4_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_217C8A",
"script": "FortreeCity_House4_EventScript_Boy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_217D20",
"script": "FortreeCity_House4_EventScript_Wingull",
"flag": "FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL"
}
],

View File

@@ -1,51 +1,51 @@
FortreeCity_House4_MapScripts:: @ 8217C80
.byte 0
FortreeCity_House4_EventScript_217C81:: @ 8217C81
msgbox FortreeCity_House4_Text_217D33, MSGBOX_NPC
FortreeCity_House4_EventScript_Woman:: @ 8217C81
msgbox FortreeCity_House4_Text_BringsWorldCloserTogether, MSGBOX_NPC
end
FortreeCity_House4_EventScript_217C8A:: @ 8217C8A
FortreeCity_House4_EventScript_Boy:: @ 8217C8A
lockall
goto_if_set FLAG_RECEIVED_MENTAL_HERB, FortreeCity_House4_EventScript_217D06
goto_if_set FLAG_WINGULL_DELIVERED_MAIL, FortreeCity_House4_EventScript_217CD8
goto_if_set FLAG_WINGULL_SENT_ON_ERRAND, FortreeCity_House4_EventScript_217CC4
msgbox FortreeCity_House4_Text_217DB9, MSGBOX_DEFAULT
goto_if_set FLAG_RECEIVED_MENTAL_HERB, FortreeCity_House4_EventScript_ReceivedMentalHerb
goto_if_set FLAG_WINGULL_DELIVERED_MAIL, FortreeCity_House4_EventScript_WingullReturned
goto_if_set FLAG_WINGULL_SENT_ON_ERRAND, FortreeCity_House4_EventScript_WingullOnErrand
msgbox FortreeCity_House4_Text_GoBirdPokemon, MSGBOX_DEFAULT
closemessage
setflag FLAG_WINGULL_SENT_ON_ERRAND
clearflag FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL
applymovement 3, FortreeCity_House4_Movement_217D1A
applymovement 3, FortreeCity_House4_Movement_WingullExit
waitmovement 0
removeobject 3
releaseall
end
FortreeCity_House4_EventScript_217CC4:: @ 8217CC4
FortreeCity_House4_EventScript_WingullOnErrand:: @ 8217CC4
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox FortreeCity_House4_Text_217DD2, MSGBOX_DEFAULT
msgbox FortreeCity_House4_Text_AskedWingullToRunErrand, MSGBOX_DEFAULT
releaseall
end
FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
FortreeCity_House4_EventScript_WingullReturned:: @ 8217CD8
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox FortreeCity_House4_Text_217E05, MSGBOX_DEFAULT
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
giveitem_std ITEM_MENTAL_HERB
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_MENTAL_HERB
releaseall
end
FortreeCity_House4_EventScript_217D06:: @ 8217D06
FortreeCity_House4_EventScript_ReceivedMentalHerb:: @ 8217D06
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox FortreeCity_House4_Text_217EA8, MSGBOX_DEFAULT
msgbox FortreeCity_House4_Text_FriendsFarAwayThanksToWingull, MSGBOX_DEFAULT
releaseall
end
FortreeCity_House4_Movement_217D1A: @ 8217D1A
FortreeCity_House4_Movement_WingullExit: @ 8217D1A
walk_fast_down
walk_fast_down
walk_fast_right
@@ -53,31 +53,31 @@ FortreeCity_House4_Movement_217D1A: @ 8217D1A
delay_8
step_end
FortreeCity_House4_EventScript_217D20:: @ 8217D20
FortreeCity_House4_EventScript_Wingull:: @ 8217D20
lock
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
msgbox FortreeCity_House4_Text_217EE0, MSGBOX_DEFAULT
msgbox FortreeCity_House4_Text_Wingull, MSGBOX_DEFAULT
waitmoncry
release
end
FortreeCity_House4_Text_217D33: @ 8217D33
FortreeCity_House4_Text_BringsWorldCloserTogether: @ 8217D33
.string "By being together with POKéMON,\n"
.string "people make more and more friends.\p"
.string "And that brings the world closer\n"
.string "together. I think it's wonderful!$"
FortreeCity_House4_Text_217DB9: @ 8217DB9
FortreeCity_House4_Text_GoBirdPokemon: @ 8217DB9
.string "There!\n"
.string "Go, BIRD POKéMON!$"
FortreeCity_House4_Text_217DD2: @ 8217DD2
FortreeCity_House4_Text_AskedWingullToRunErrand: @ 8217DD2
.string "Heheh, I asked my WINGULL to run\n"
.string "an errand for me.$"
FortreeCity_House4_Text_217E05: @ 8217E05
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb: @ 8217E05
.string "Good!\n"
.string "Welcome back, WINGULL!\p"
.string "Huh? What is this?\n"
@@ -87,10 +87,10 @@ FortreeCity_House4_Text_217E05: @ 8217E05
.string "But I'm not a TRAINER, so you can\n"
.string "have it.$"
FortreeCity_House4_Text_217EA8: @ 8217EA8
FortreeCity_House4_Text_FriendsFarAwayThanksToWingull: @ 8217EA8
.string "Thanks to my WINGULL, I have friends\n"
.string "who live far away.$"
FortreeCity_House4_Text_217EE0: @ 8217EE0
FortreeCity_House4_Text_Wingull: @ 8217EE0
.string "WINGULL: Pihyoh!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_217EF2",
"script": "FortreeCity_House5_EventScript_PokefanF",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_217F04",
"script": "FortreeCity_House5_EventScript_Zigzagoon",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_217EFB",
"script": "FortreeCity_House5_EventScript_Man",
"flag": "0"
}
],

View File

@@ -1,35 +1,35 @@
FortreeCity_House5_MapScripts:: @ 8217EF1
.byte 0
FortreeCity_House5_EventScript_217EF2:: @ 8217EF2
msgbox FortreeCity_House5_Text_217F17, MSGBOX_NPC
FortreeCity_House5_EventScript_PokefanF:: @ 8217EF2
msgbox FortreeCity_House5_Text_TreeHousesAreGreat, MSGBOX_NPC
end
FortreeCity_House5_EventScript_217EFB:: @ 8217EFB
msgbox FortreeCity_House5_Text_217F80, MSGBOX_NPC
FortreeCity_House5_EventScript_Man:: @ 8217EFB
msgbox FortreeCity_House5_Text_AdaptedToNature, MSGBOX_NPC
end
FortreeCity_House5_EventScript_217F04:: @ 8217F04
FortreeCity_House5_EventScript_Zigzagoon:: @ 8217F04
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox FortreeCity_House5_Text_217FFB, MSGBOX_DEFAULT
msgbox FortreeCity_House5_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
FortreeCity_House5_Text_217F17: @ 8217F17
FortreeCity_House5_Text_TreeHousesAreGreat: @ 8217F17
.string "The tree houses of FORTREE are great!\p"
.string "I think it's the number one town for\n"
.string "living together with POKéMON.$"
FortreeCity_House5_Text_217F80: @ 8217F80
FortreeCity_House5_Text_AdaptedToNature: @ 8217F80
.string "POKéMON and people have adapted to\n"
.string "nature for survival.\p"
.string "There's no need to make nature\n"
.string "conform to the way we want to live.$"
FortreeCity_House5_Text_217FFB: @ 8217FFB
FortreeCity_House5_Text_Zigzagoon: @ 8217FFB
.string "ZIGZAGOON: Bufuu!$"

View File

@@ -30,7 +30,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA73B",
"script": "LavaridgeTown_EventScript_ExpertF",
"flag": "0"
},
{
@@ -43,7 +43,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA70E",
"script": "LavaridgeTown_EventScript_ExpertM",
"flag": "0"
},
{
@@ -56,7 +56,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA717",
"script": "LavaridgeTown_EventScript_OldMan",
"flag": "0"
},
{
@@ -69,7 +69,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA720",
"script": "LavaridgeTown_EventScript_Twin",
"flag": "0"
},
{
@@ -82,7 +82,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA729",
"script": "LavaridgeTown_EventScript_HotSpringsOldWoman1",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA732",
"script": "LavaridgeTown_EventScript_HotSpringsOldWoman2",
"flag": "0"
},
{
@@ -109,7 +109,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_2"
"flag": "FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_ON_BIKE"
},
{
"graphics_id": "EVENT_OBJ_GFX_VAR_0",
@@ -122,7 +122,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_1"
"flag": "FLAG_HIDE_LAVARIDGE_TOWN_RIVAL"
},
{
"graphics_id": "EVENT_OBJ_GFX_EXPERT_F",
@@ -134,7 +134,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_1EA744",
"script": "LavaridgeTown_EventScript_EggWoman",
"flag": "0"
}
],
@@ -190,7 +190,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
"script": "LavaridgeTown_EventScript_1EA6FA"
"script": "LavaridgeTown_EventScript_HotSpringsTrigger"
}
],
"bg_events": [
@@ -200,7 +200,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LavaridgeTown_EventScript_1EA7B7"
"script": "LavaridgeTown_EventScript_HerbShopSign"
},
{
"type": "sign",
@@ -208,7 +208,7 @@
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LavaridgeTown_EventScript_1EA7AE"
"script": "LavaridgeTown_EventScript_GymSign"
},
{
"type": "sign",
@@ -224,7 +224,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LavaridgeTown_EventScript_1EA7A5"
"script": "LavaridgeTown_EventScript_TownSign"
},
{
"type": "sign",

View File

@@ -1,98 +1,98 @@
LavaridgeTown_MapScripts:: @ 81EA4D3
map_script MAP_SCRIPT_ON_TRANSITION, LavaridgeTown_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, LavaridgeTown_MapScript2_1EA547
map_script MAP_SCRIPT_ON_FRAME_TABLE, LavaridgeTown_OnFrame
.byte 0
LavaridgeTown_OnTransition: @ 81EA4DE
setflag FLAG_VISITED_LAVARIDGE_TOWN
call_if_set FLAG_FLANNERY_GIVES_BADGE_INFO, LavaridgeTown_EventScript_1EA514
call_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, LavaridgeTown_EventScript_1EA53F
call_if_set FLAG_WHITEOUT_TO_LAVARIDGE, LavaridgeTown_EventScript_ClearLavaridgeWhiteOut
call_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, LavaridgeTown_EventScript_ShowMtChimneyTrainers
call Common_EventScript_SetupRivalGfxId
call Common_EventScript_SetupRivalOnBikeGfxId
compare VAR_LAVARIDGE_TOWN_STATE, 1
call_if_eq LavaridgeTown_EventScript_1EA518
call_if_eq LavaridgeTown_EventScript_CheckSetRivalPos
compare VAR_LAVARIDGE_TOWN_STATE, 1
call_if_eq LavaridgeTown_EventScript_1EA543
call_if_eq LavaridgeTown_EventScript_HideMapNamePopup
end
LavaridgeTown_EventScript_1EA514:: @ 81EA514
clearflag FLAG_FLANNERY_GIVES_BADGE_INFO
LavaridgeTown_EventScript_ClearLavaridgeWhiteOut:: @ 81EA514
clearflag FLAG_WHITEOUT_TO_LAVARIDGE
return
LavaridgeTown_EventScript_1EA518:: @ 81EA518
LavaridgeTown_EventScript_CheckSetRivalPos:: @ 81EA518
getplayerxy VAR_0x8004, VAR_0x8005
compare VAR_0x8004, 9
goto_if_eq LavaridgeTown_EventScript_1EA529
goto_if_eq LavaridgeTown_EventScript_SetRivalPos
return
LavaridgeTown_EventScript_1EA529:: @ 81EA529
LavaridgeTown_EventScript_SetRivalPos:: @ 81EA529
setobjectxyperm 8, 11, 9
setobjectxyperm 7, 9, 8
setobjectmovementtype 7, MOVEMENT_TYPE_FACE_UP
clearflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_1
clearflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL
return
LavaridgeTown_EventScript_1EA53F:: @ 81EA53F
LavaridgeTown_EventScript_ShowMtChimneyTrainers:: @ 81EA53F
clearflag FLAG_HIDE_MT_CHIMNEY_TRAINERS
return
LavaridgeTown_EventScript_1EA543:: @ 81EA543
LavaridgeTown_EventScript_HideMapNamePopup:: @ 81EA543
setflag FLAG_HIDE_MAP_NAME_POPUP
return
LavaridgeTown_MapScript2_1EA547: @ 81EA547
map_script_2 VAR_LAVARIDGE_TOWN_STATE, 1, LavaridgeTown_EventScript_1EA551
LavaridgeTown_OnFrame: @ 81EA547
map_script_2 VAR_LAVARIDGE_TOWN_STATE, 1, LavaridgeTown_EventScript_RivalGiveGoGoggles
.2byte 0
LavaridgeTown_EventScript_1EA551:: @ 81EA551
LavaridgeTown_EventScript_RivalGiveGoGoggles:: @ 81EA551
lockall
getplayerxy VAR_0x8008, VAR_0x8009
compare VAR_0x8008, 9
call_if_eq LavaridgeTown_EventScript_1EA63A
call_if_eq LavaridgeTown_EventScript_RivalNoticePlayer
compare VAR_0x8008, 9
call_if_ne LavaridgeTown_EventScript_1EA65C
call_if_ne LavaridgeTown_EventScript_RivalExitHerbShop
delay 20
checkplayergender
compare VAR_RESULT, MALE
call_if_eq LavaridgeTown_EventScript_1EA630
call_if_eq LavaridgeTown_EventScript_PlayMayMusic
compare VAR_RESULT, FEMALE
call_if_eq LavaridgeTown_EventScript_1EA635
call_if_eq LavaridgeTown_EventScript_PlayBrendanMusic
compare VAR_0x8008, 9
call_if_eq LavaridgeTown_EventScript_1EA6A1
call_if_eq LavaridgeTown_EventScript_RivalApproachPlayer1
compare VAR_0x8008, 9
call_if_ne LavaridgeTown_EventScript_1EA6AC
call_if_ne LavaridgeTown_EventScript_RivalApproachPlayer2
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LavaridgeTown_EventScript_1EA5B5
goto_if_eq LavaridgeTown_EventScript_MayGiveGoGoggles
compare VAR_RESULT, FEMALE
goto_if_eq LavaridgeTown_EventScript_1EA5DA
goto_if_eq LavaridgeTown_EventScript_BrendanGiveGoGoggles
end
LavaridgeTown_EventScript_1EA5B5:: @ 81EA5B5
msgbox LavaridgeTown_Text_1EA7C0, MSGBOX_DEFAULT
LavaridgeTown_EventScript_MayGiveGoGoggles:: @ 81EA5B5
msgbox LavaridgeTown_Text_MayNiceBadgesTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_GO_GOGGLES
setflag FLAG_RECEIVED_GO_GOGGLES
msgbox LavaridgeTown_Text_1EA897, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_1EA5FF
msgbox LavaridgeTown_Text_MayExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_RivalExit
end
LavaridgeTown_EventScript_1EA5DA:: @ 81EA5DA
msgbox LavaridgeTown_Text_1EA9A2, MSGBOX_DEFAULT
LavaridgeTown_EventScript_BrendanGiveGoGoggles:: @ 81EA5DA
msgbox LavaridgeTown_Text_BrendanNiceBadgesTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_GO_GOGGLES
setflag FLAG_RECEIVED_GO_GOGGLES
msgbox LavaridgeTown_Text_1EAA2E, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_1EA5FF
msgbox LavaridgeTown_Text_BrendanExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_RivalExit
end
LavaridgeTown_EventScript_1EA5FF:: @ 81EA5FF
LavaridgeTown_EventScript_RivalExit:: @ 81EA5FF
closemessage
removeobject 8
addobject 7
delay 30
compare VAR_0x8008, 9
call_if_eq LavaridgeTown_EventScript_1EA6B7
call_if_eq LavaridgeTown_EventScript_RivalExit1
compare VAR_0x8008, 9
call_if_ne LavaridgeTown_EventScript_1EA6C9
call_if_ne LavaridgeTown_EventScript_RivalExit2
removeobject 7
setvar VAR_LAVARIDGE_TOWN_STATE, 2
clearflag FLAG_HIDE_MAP_NAME_POPUP
@@ -101,15 +101,15 @@ LavaridgeTown_EventScript_1EA5FF:: @ 81EA5FF
releaseall
end
LavaridgeTown_EventScript_1EA630:: @ 81EA630
LavaridgeTown_EventScript_PlayMayMusic:: @ 81EA630
playbgm MUS_GIRL_SUP, 1
return
LavaridgeTown_EventScript_1EA635:: @ 81EA635
LavaridgeTown_EventScript_PlayBrendanMusic:: @ 81EA635
playbgm MUS_BOY_SUP, 1
return
LavaridgeTown_EventScript_1EA63A:: @ 81EA63A
LavaridgeTown_EventScript_RivalNoticePlayer:: @ 81EA63A
applymovement 8, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
playse SE_PIN
@@ -119,11 +119,11 @@ LavaridgeTown_EventScript_1EA63A:: @ 81EA63A
waitmovement 0
return
LavaridgeTown_EventScript_1EA65C:: @ 81EA65C
LavaridgeTown_EventScript_RivalExitHerbShop:: @ 81EA65C
opendoor 12, 15
waitdooranim
addobject 8
applymovement 8, LavaridgeTown_Movement_1EA6F8
applymovement 8, LavaridgeTown_Movement_RivalExitHerbShop
waitmovement 0
closedoor 12, 15
waitdooranim
@@ -138,28 +138,28 @@ LavaridgeTown_EventScript_1EA65C:: @ 81EA65C
waitmovement 0
return
LavaridgeTown_EventScript_1EA6A1:: @ 81EA6A1
applymovement 8, LavaridgeTown_Movement_1EA6F4
LavaridgeTown_EventScript_RivalApproachPlayer1:: @ 81EA6A1
applymovement 8, LavaridgeTown_Movement_RivalApproachPlayer1
waitmovement 0
return
LavaridgeTown_EventScript_1EA6AC:: @ 81EA6AC
applymovement 8, LavaridgeTown_Movement_1EA6ED
LavaridgeTown_EventScript_RivalApproachPlayer2:: @ 81EA6AC
applymovement 8, LavaridgeTown_Movement_RivalApproachPlayer2
waitmovement 0
return
LavaridgeTown_EventScript_1EA6B7:: @ 81EA6B7
applymovement EVENT_OBJ_ID_PLAYER, LavaridgeTown_Movement_1EA6DF
applymovement 7, LavaridgeTown_Movement_1EA6E3
LavaridgeTown_EventScript_RivalExit1:: @ 81EA6B7
applymovement EVENT_OBJ_ID_PLAYER, LavaridgeTown_Movement_PlayerWatchRivalExit
applymovement 7, LavaridgeTown_Movement_RivalExit1
waitmovement 0
return
LavaridgeTown_EventScript_1EA6C9:: @ 81EA6C9
applymovement 7, LavaridgeTown_Movement_1EA6D4
LavaridgeTown_EventScript_RivalExit2:: @ 81EA6C9
applymovement 7, LavaridgeTown_Movement_RivalExit2
waitmovement 0
return
LavaridgeTown_Movement_1EA6D4: @ 81EA6D4
LavaridgeTown_Movement_RivalExit2: @ 81EA6D4
walk_fast_right
walk_fast_right
walk_fast_right
@@ -172,13 +172,13 @@ LavaridgeTown_Movement_1EA6D4: @ 81EA6D4
walk_fast_up
step_end
LavaridgeTown_Movement_1EA6DF: @ 81EA6DF
LavaridgeTown_Movement_PlayerWatchRivalExit: @ 81EA6DF
delay_16
delay_8
walk_in_place_fastest_right
step_end
LavaridgeTown_Movement_1EA6E3: @ 81EA6E3
LavaridgeTown_Movement_RivalExit1: @ 81EA6E3
walk_fast_down
walk_fast_right
walk_fast_right
@@ -190,7 +190,7 @@ LavaridgeTown_Movement_1EA6E3: @ 81EA6E3
walk_fast_right
step_end
LavaridgeTown_Movement_1EA6ED: @ 81EA6ED
LavaridgeTown_Movement_RivalApproachPlayer2: @ 81EA6ED
walk_left
walk_left
walk_left
@@ -199,97 +199,97 @@ LavaridgeTown_Movement_1EA6ED: @ 81EA6ED
walk_left
step_end
LavaridgeTown_Movement_1EA6F4: @ 81EA6F4
LavaridgeTown_Movement_RivalApproachPlayer1: @ 81EA6F4
walk_left
walk_left
walk_up
step_end
LavaridgeTown_Movement_1EA6F8: @ 81EA6F8
LavaridgeTown_Movement_RivalExitHerbShop: @ 81EA6F8
walk_down
step_end
LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA
LavaridgeTown_EventScript_HotSpringsTrigger:: @ 81EA6FA
specialvar VAR_RESULT, GetPlayerFacingDirection
compare VAR_RESULT, 1
goto_if_eq LavaridgeTown_EventScript_1EA70B
compare VAR_RESULT, DIR_SOUTH
goto_if_eq LavaridgeTown_EventScript_EnteredHotSprings
end
LavaridgeTown_EventScript_1EA70B:: @ 81EA70B
LavaridgeTown_EventScript_EnteredHotSprings:: @ 81EA70B
incrementgamestat GAME_STAT_ENTERED_HOT_SPRINGS
end
LavaridgeTown_EventScript_1EA70E:: @ 81EA70E
msgbox LavaridgeTown_Text_1EAE03, MSGBOX_NPC
LavaridgeTown_EventScript_ExpertM:: @ 81EA70E
msgbox LavaridgeTown_Text_HotSpringsNeverRunDry, MSGBOX_NPC
end
LavaridgeTown_EventScript_1EA717:: @ 81EA717
msgbox LavaridgeTown_Text_1EAEE1, MSGBOX_SIGN
LavaridgeTown_EventScript_OldMan:: @ 81EA717
msgbox LavaridgeTown_Text_PokemonNippedBackside, MSGBOX_SIGN
end
LavaridgeTown_EventScript_1EA720:: @ 81EA720
msgbox LavaridgeTown_Text_1EAF9B, MSGBOX_NPC
LavaridgeTown_EventScript_Twin:: @ 81EA720
msgbox LavaridgeTown_Text_BatheInHotSpringsEveryDay, MSGBOX_NPC
end
LavaridgeTown_EventScript_1EA729:: @ 81EA729
msgbox LavaridgeTown_Text_1EB003, MSGBOX_NPC
LavaridgeTown_EventScript_HotSpringsOldWoman1:: @ 81EA729
msgbox LavaridgeTown_Text_IfPokemonInHotSprings, MSGBOX_NPC
end
LavaridgeTown_EventScript_1EA732:: @ 81EA732
msgbox LavaridgeTown_Text_1EB092, MSGBOX_NPC
LavaridgeTown_EventScript_HotSpringsOldWoman2:: @ 81EA732
msgbox LavaridgeTown_Text_HotSpringsClaims, MSGBOX_NPC
end
LavaridgeTown_EventScript_1EA73B:: @ 81EA73B
msgbox LavaridgeTown_Text_1EAF4E, MSGBOX_NPC
LavaridgeTown_EventScript_ExpertF:: @ 81EA73B
msgbox LavaridgeTown_Text_OhYouLikeHotSprings, MSGBOX_NPC
end
LavaridgeTown_EventScript_1EA744:: @ 81EA744
LavaridgeTown_EventScript_EggWoman:: @ 81EA744
lock
faceplayer
goto_if_set FLAG_RECEIVED_LAVARIDGE_EGG, LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, MSGBOX_YESNO
goto_if_set FLAG_RECEIVED_LAVARIDGE_EGG, LavaridgeTown_EventScript_ReceivedEgg
msgbox LavaridgeTown_Text_HaveEggWillYouTakeIt, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq LavaridgeTown_EventScript_1EA79B
goto_if_eq LavaridgeTown_EventScript_DeclineEgg
getpartysize
compare VAR_RESULT, PARTY_SIZE
goto_if_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, MSGBOX_DEFAULT
goto_if_eq LavaridgeTown_EventScript_NoRoomForEgg
msgbox LavaridgeTown_Text_HopeYoullWalkPlentyWithEgg, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_LAVARIDGE_EGG
playfanfare MUS_FANFA4
message LavaridgeTown_Text_1EACF4
message LavaridgeTown_Text_ReceivedTheEgg
waitfanfare
giveegg SPECIES_WYNAUT
release
end
LavaridgeTown_EventScript_1EA787:: @ 81EA787
msgbox LavaridgeTown_Text_1EAD9E, MSGBOX_DEFAULT
LavaridgeTown_EventScript_ReceivedEgg:: @ 81EA787
msgbox LavaridgeTown_Text_EverySoOftenEggFoundAtDayCare, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_1EA791:: @ 81EA791
msgbox LavaridgeTown_Text_1EAD09, MSGBOX_DEFAULT
LavaridgeTown_EventScript_NoRoomForEgg:: @ 81EA791
msgbox LavaridgeTown_Text_NoRoomForThisEgg, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_1EA79B:: @ 81EA79B
msgbox LavaridgeTown_Text_1EAD44, MSGBOX_DEFAULT
LavaridgeTown_EventScript_DeclineEgg:: @ 81EA79B
msgbox LavaridgeTown_Text_AsYouWishThen, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_1EA7A5:: @ 81EA7A5
msgbox LavaridgeTown_Text_1EB12B, MSGBOX_SIGN
LavaridgeTown_EventScript_TownSign:: @ 81EA7A5
msgbox LavaridgeTown_Text_TownSign, MSGBOX_SIGN
end
LavaridgeTown_EventScript_1EA7AE:: @ 81EA7AE
msgbox LavaridgeTown_Text_1EB178, MSGBOX_SIGN
LavaridgeTown_EventScript_GymSign:: @ 81EA7AE
msgbox LavaridgeTown_Text_GymSign, MSGBOX_SIGN
end
LavaridgeTown_EventScript_1EA7B7:: @ 81EA7B7
msgbox LavaridgeTown_Text_1EB1CB, MSGBOX_SIGN
LavaridgeTown_EventScript_HerbShopSign:: @ 81EA7B7
msgbox LavaridgeTown_Text_HerbShopSign, MSGBOX_SIGN
end
LavaridgeTown_Text_1EA7C0: @ 81EA7C0
LavaridgeTown_Text_MayNiceBadgesTakeThis: @ 81EA7C0
.string "MAY: {PLAYER}{KUN}! Long time no see!\p"
.string "Oh? While I visited the hot springs,\n"
.string "you got the LAVARIDGE GYM BADGE.\p"
@@ -299,7 +299,7 @@ LavaridgeTown_Text_1EA7C0: @ 81EA7C0
.string "I guess it would be okay for you to\n"
.string "have this.$"
LavaridgeTown_Text_1EA897: @ 81EA897
LavaridgeTown_Text_MayExplainGoGogglesChallengeDad: @ 81EA897
.string "MAY: With those GO-GOGGLES, you'll\n"
.string "have no trouble getting through the\l"
.string "desert near ROUTE 111.\p"
@@ -311,7 +311,7 @@ LavaridgeTown_Text_1EA897: @ 81EA897
.string "your dad in PETALBURG GYM.\p"
.string "See you again!$"
LavaridgeTown_Text_1EA9A2: @ 81EA9A2
LavaridgeTown_Text_BrendanNiceBadgesTakeThis: @ 81EA9A2
.string "BRENDAN: {PLAYER}, hey, it's been a while.\n"
.string "How's it going?\p"
.string "Hmm…\n"
@@ -319,7 +319,7 @@ LavaridgeTown_Text_1EA9A2: @ 81EA9A2
.string "All right, then.\n"
.string "You may as well have this.$"
LavaridgeTown_Text_1EAA2E: @ 81EAA2E
LavaridgeTown_Text_BrendanExplainGoGogglesChallengeDad: @ 81EAA2E
.string "BRENDAN: Keep those with you if you're\n"
.string "planning on going into that desert near\l"
.string "ROUTE 111.\p"
@@ -333,7 +333,7 @@ LavaridgeTown_Text_1EAA2E: @ 81EAA2E
.string "he really is tough.\p"
.string "See you around!$"
LavaridgeTown_Text_1EAB80: @ 81EAB80
LavaridgeTown_Text_HaveEggWillYouTakeIt: @ 81EAB80
.string "I have here an EGG.\p"
.string "I'd hoped to hatch it by covering it in\n"
.string "hot sand by the hot springs.\l"
@@ -346,28 +346,28 @@ LavaridgeTown_Text_1EAB80: @ 81EAB80
.string "So, what say you?\n"
.string "Will you take this EGG to hatch?$"
LavaridgeTown_Text_1EACC0: @ 81EACC0
LavaridgeTown_Text_HopeYoullWalkPlentyWithEgg: @ 81EACC0
.string "Good! I hope you'll walk plenty with\n"
.string "this here EGG!$"
LavaridgeTown_Text_1EACF4: @ 81EACF4
LavaridgeTown_Text_ReceivedTheEgg: @ 81EACF4
.string "{PLAYER} received the EGG.$"
LavaridgeTown_Text_1EAD09: @ 81EAD09
LavaridgeTown_Text_NoRoomForThisEgg: @ 81EAD09
.string "Oh? You've too many POKéMON.\n"
.string "There's no room for this EGG…$"
LavaridgeTown_Text_1EAD44: @ 81EAD44
LavaridgeTown_Text_AsYouWishThen: @ 81EAD44
.string "As you wish, then…\p"
.string "If you have a change of heart about\n"
.string "hatching this EGG, I will be here.$"
LavaridgeTown_Text_1EAD9E: @ 81EAD9E
LavaridgeTown_Text_EverySoOftenEggFoundAtDayCare: @ 81EAD9E
.string "Every so often, an EGG will be found at\n"
.string "the POKéMON DAY CARE.\p"
.string "Or at least that's how the rumor goes.$"
LavaridgeTown_Text_1EAE03: @ 81EAE03
LavaridgeTown_Text_HotSpringsNeverRunDry: @ 81EAE03
.string "We draw as much hot water as we need,\n"
.string "and yet the hot springs never run dry.\p"
.string "Isn't it magical?\p"
@@ -376,47 +376,47 @@ LavaridgeTown_Text_1EAE03: @ 81EAE03
.string "ground are heated by magma to well up\l"
.string "as hot springs.$"
LavaridgeTown_Text_1EAEE1: @ 81EAEE1
LavaridgeTown_Text_PokemonNippedBackside: @ 81EAEE1
.string "Being buried in this hot sand is…\n"
.string "Sigh…\p"
.string "So warm and heavenly…\p"
.string "Eh? Gyaah! Ouch!\p"
.string "A POKéMON nipped my backside!$"
LavaridgeTown_Text_1EAF4E: @ 81EAF4E
LavaridgeTown_Text_OhYouLikeHotSprings: @ 81EAF4E
.string "Oh, you like hot springs, do you?\p"
.string "That's surprising for one as young\n"
.string "as you.$"
LavaridgeTown_Text_1EAF9B: @ 81EAF9B
LavaridgeTown_Text_BatheInHotSpringsEveryDay: @ 81EAF9B
.string "I bathe in the hot springs every day.\p"
.string "I want to become a beautiful and strong\n"
.string "GYM LEADER like FLANNERY.$"
LavaridgeTown_Text_1EB003: @ 81EB003
LavaridgeTown_Text_IfPokemonInHotSprings: @ 81EB003
.string "If people put POKéMON in hot springs,\n"
.string "it might be seriously strange.\p"
.string "Why, it might be an electric bath, or\n"
.string "a bubble bath, or even a lava bath…$"
LavaridgeTown_Text_1EB092: @ 81EB092
LavaridgeTown_Text_HotSpringsClaims: @ 81EB092
.string "They're claiming that these hot springs\n"
.string "are good for calming nervous tension,\l"
.string "relieving aching muscles, solving\l"
.string "romantic problems, and attracting\l"
.string "money…$"
LavaridgeTown_Text_1EB12B: @ 81EB12B
LavaridgeTown_Text_TownSign: @ 81EB12B
.string "LAVARIDGE TOWN\p"
.string "“POKéMON CENTER HOT SPRINGS\n"
.string "An excellent place for relaxing!”$"
LavaridgeTown_Text_1EB178: @ 81EB178
LavaridgeTown_Text_GymSign: @ 81EB178
.string "LAVARIDGE TOWN POKéMON GYM\n"
.string "LEADER: FLANNERY\l"
.string "“One with a fiery passion that burns!”$"
LavaridgeTown_Text_1EB1CB: @ 81EB1CB
LavaridgeTown_Text_HerbShopSign: @ 81EB1CB
.string "POKéMON HERB SHOP\n"
.string "“Bitter taste--better cure!”$"

View File

@@ -66,7 +66,7 @@ LavaridgeTown_Gym_1F_EventScript_FlanneryDefeated:: @ 81FE7C1
waitmessage
call Common_EventScript_PlayGymBadgeFanfare
msgbox LavaridgeTown_Gym_1F_Text_ExplainHeatBadgeTakeThis, MSGBOX_DEFAULT
setflag FLAG_FLANNERY_GIVES_BADGE_INFO
setflag FLAG_WHITEOUT_TO_LAVARIDGE
setflag FLAG_DEFEATED_LAVARIDGE_GYM
setflag FLAG_BADGE04_GET
addvar VAR_PETALBURG_GYM_STATE, 1

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_1FE4D7",
"script": "LavaridgeTown_HerbShop_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_1FE505",
"script": "LavaridgeTown_HerbShop_EventScript_OldMan",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_1FE4FC",
"script": "LavaridgeTown_HerbShop_EventScript_ExpertM",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
LavaridgeTown_HerbShop_MapScripts:: @ 81FE4D6
.byte 0
LavaridgeTown_HerbShop_EventScript_1FE4D7:: @ 81FE4D7
LavaridgeTown_HerbShop_EventScript_Clerk:: @ 81FE4D7
lock
faceplayer
message LavaridgeTown_HerbShop_Text_1FE53E
message LavaridgeTown_HerbShop_Text_WelcomeToHerbShop
waitmessage
pokemart LavaridgeTown_HerbShop_Pokemart_1FE4F0
pokemart LavaridgeTown_HerbShop_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LavaridgeTown_HerbShop_Pokemart_1FE4F0: @ 81FE4F0
LavaridgeTown_HerbShop_Pokemart: @ 81FE4F0
.2byte ITEM_ENERGY_POWDER
.2byte ITEM_ENERGY_ROOT
.2byte ITEM_HEAL_POWDER
@@ -21,15 +21,15 @@ LavaridgeTown_HerbShop_Pokemart_1FE4F0: @ 81FE4F0
release
end
LavaridgeTown_HerbShop_EventScript_1FE4FC:: @ 81FE4FC
msgbox LavaridgeTown_HerbShop_Text_1FE685, MSGBOX_NPC
LavaridgeTown_HerbShop_EventScript_ExpertM:: @ 81FE4FC
msgbox LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike, MSGBOX_NPC
end
LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
LavaridgeTown_HerbShop_EventScript_OldMan:: @ 81FE505
lock
faceplayer
goto_if_set FLFLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, MSGBOX_DEFAULT
goto_if_set FLFLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
giveitem_std ITEM_CHARCOAL
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
@@ -37,22 +37,22 @@ LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
release
end
LavaridgeTown_HerbShop_EventScript_1FE534:: @ 81FE534
msgbox LavaridgeTown_HerbShop_Text_1FE5EB, MSGBOX_DEFAULT
LavaridgeTown_HerbShop_EventScript_ExplainCharcoal:: @ 81FE534
msgbox LavaridgeTown_HerbShop_Text_ExplainCharcoal, MSGBOX_DEFAULT
release
end
LavaridgeTown_HerbShop_Text_1FE53E: @ 81FE53E
LavaridgeTown_HerbShop_Text_WelcomeToHerbShop: @ 81FE53E
.string "Welcome to the HERB SHOP, home of\n"
.string "effective and inexpensive medicine!$"
LavaridgeTown_HerbShop_Text_1FE584: @ 81FE584
LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine: @ 81FE584
.string "You've come to look at herbal medicine\n"
.string "in LAVARIDGE?\p"
.string "That's rather commendable.\p"
.string "I like you! Take this!$"
LavaridgeTown_HerbShop_Text_1FE5EB: @ 81FE5EB
LavaridgeTown_HerbShop_Text_ExplainCharcoal: @ 81FE5EB
.string "That CHARCOAL I gave you, it's used\n"
.string "for making herbal medicine.\p"
.string "It also does wonders when held by\n"
@@ -60,7 +60,7 @@ LavaridgeTown_HerbShop_Text_1FE5EB: @ 81FE5EB
.string "It intensifies the power of FIRE-type\n"
.string "moves.$"
LavaridgeTown_HerbShop_Text_1FE685: @ 81FE685
LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike: @ 81FE685
.string "Herbal medicine works impressively well.\n"
.string "But your POKéMON will dislike you for it.\l"
.string "It must be horribly bitter!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_House_EventScript_1FF912",
"script": "LavaridgeTown_House_EventScript_OldMan",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_House_EventScript_1FF91B",
"script": "LavaridgeTown_House_EventScript_Zigzagoon",
"flag": "0"
},
{

View File

@@ -1,26 +1,26 @@
LavaridgeTown_House_MapScripts:: @ 81FF911
.byte 0
LavaridgeTown_House_EventScript_1FF912:: @ 81FF912
msgbox LavaridgeTown_House_Text_1FF92E, MSGBOX_NPC
LavaridgeTown_House_EventScript_OldMan:: @ 81FF912
msgbox LavaridgeTown_House_Text_WifeWarmingEggInHotSprings, MSGBOX_NPC
end
LavaridgeTown_House_EventScript_1FF91B:: @ 81FF91B
LavaridgeTown_House_EventScript_Zigzagoon:: @ 81FF91B
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox LavaridgeTown_House_Text_1FF9BB, MSGBOX_DEFAULT
msgbox LavaridgeTown_House_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
LavaridgeTown_House_Text_1FF92E: @ 81FF92E
LavaridgeTown_House_Text_WifeWarmingEggInHotSprings: @ 81FF92E
.string "My wife's warming an EGG in the hot\n"
.string "springs. This is what she told me.\p"
.string "She left two POKéMON with the DAY CARE.\n"
.string "And they discovered that EGG!$"
LavaridgeTown_House_Text_1FF9BB: @ 81FF9BB
LavaridgeTown_House_Text_Zigzagoon: @ 81FF9BB
.string "ZIGZAGOON: Pshoo!$"

View File

@@ -35,7 +35,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_1EBACC",
"script": "PacifidlogTown_EventScript_Girl",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_1EBAD5",
"script": "PacifidlogTown_EventScript_Fisherman",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_1EBAC3",
"script": "PacifidlogTown_EventScript_NinjaBoy",
"flag": "0"
}
],
@@ -125,7 +125,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "PacifidlogTown_EventScript_1EBADE"
"script": "PacifidlogTown_EventScript_TownSign"
},
{
"type": "sign",

View File

@@ -1,44 +1,44 @@
PacifidlogTown_MapScripts:: @ 81EBAB1
map_script MAP_SCRIPT_ON_TRANSITION, PacifidlogTown_OnTransition
map_script MAP_SCRIPT_ON_RESUME, PacifidlogTown_MapScript1_1EBAC0
map_script MAP_SCRIPT_ON_RESUME, PacifidlogTown_OnResume
.byte 0
PacifidlogTown_OnTransition: @ 81EBABC
setflag FLAG_VISITED_PACIFIDLOG_TOWN
end
PacifidlogTown_MapScript1_1EBAC0: @ 81EBAC0
PacifidlogTown_OnResume: @ 81EBAC0
setstepcallback STEP_CB_PACIFIDLOG_BRIDGE
end
PacifidlogTown_EventScript_1EBAC3:: @ 81EBAC3
msgbox PacifidlogTown_Text_1EBB6C, MSGBOX_NPC
PacifidlogTown_EventScript_NinjaBoy:: @ 81EBAC3
msgbox PacifidlogTown_Text_NeatHousesOnWater, MSGBOX_NPC
end
PacifidlogTown_EventScript_1EBACC:: @ 81EBACC
msgbox PacifidlogTown_Text_1EBAE7, MSGBOX_NPC
PacifidlogTown_EventScript_Girl:: @ 81EBACC
msgbox PacifidlogTown_Text_FastRunningCurrent, MSGBOX_NPC
end
PacifidlogTown_EventScript_1EBAD5:: @ 81EBAD5
msgbox PacifidlogTown_Text_1EBBAC, MSGBOX_NPC
PacifidlogTown_EventScript_Fisherman:: @ 81EBAD5
msgbox PacifidlogTown_Text_SkyPillarTooScary, MSGBOX_NPC
end
PacifidlogTown_EventScript_1EBADE:: @ 81EBADE
msgbox PacifidlogTown_Text_1EBC7A, MSGBOX_SIGN
PacifidlogTown_EventScript_TownSign:: @ 81EBADE
msgbox PacifidlogTown_Text_TownSign, MSGBOX_SIGN
end
PacifidlogTown_Text_1EBAE7: @ 81EBAE7
PacifidlogTown_Text_FastRunningCurrent: @ 81EBAE7
.string "The sea between PACIFIDLOG and\n"
.string "SLATEPORT has a fast-running tide.\p"
.string "If you decide to SURF, you could end\n"
.string "up swept away somewhere else.$"
PacifidlogTown_Text_1EBB6C: @ 81EBB6C
PacifidlogTown_Text_NeatHousesOnWater: @ 81EBB6C
.string "See, isn't it neat?\n"
.string "These houses are on water!\p"
.string "I was born here!$"
PacifidlogTown_Text_1EBBAC: @ 81EBBAC
PacifidlogTown_Text_SkyPillarTooScary: @ 81EBBAC
.string "The SKY PILLAR?\p"
.string "…Oh, you must mean that tall, tall\n"
.string "tower a little further out.\p"
@@ -47,7 +47,7 @@ PacifidlogTown_Text_1EBBAC: @ 81EBBAC
.string "Life at sea level in PACIFIDLOG,\n"
.string "that suits me fine.$"
PacifidlogTown_Text_1EBC7A: @ 81EBC7A
PacifidlogTown_Text_TownSign: @ 81EBC7A
.string "PACIFIDLOG TOWN\p"
.string "“Where the morning sun smiles upon\n"
.string "the waters.”$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House1_EventScript_20365D",
"script": "PacifidlogTown_House1_EventScript_Man",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House1_EventScript_203666",
"script": "PacifidlogTown_House1_EventScript_Woman",
"flag": "0"
}
],

View File

@@ -1,15 +1,15 @@
PacifidlogTown_House1_MapScripts:: @ 820365C
.byte 0
PacifidlogTown_House1_EventScript_20365D:: @ 820365D
msgbox PacifidlogTown_House1_Text_20366F, MSGBOX_NPC
PacifidlogTown_House1_EventScript_Man:: @ 820365D
msgbox PacifidlogTown_House1_Text_RegiStory, MSGBOX_NPC
end
PacifidlogTown_House1_EventScript_203666:: @ 8203666
msgbox PacifidlogTown_House1_Text_20373A, MSGBOX_NPC
PacifidlogTown_House1_EventScript_Woman:: @ 8203666
msgbox PacifidlogTown_House1_Text_SixDotsOpenThreeDoors, MSGBOX_NPC
end
PacifidlogTown_House1_Text_20366F: @ 820366F
PacifidlogTown_House1_Text_RegiStory: @ 820366F
.string "In the HOENN region, there are three\n"
.string "POKéMON that represent the power of\l"
.string "rock, ice, and steel.\p"
@@ -18,7 +18,7 @@ PacifidlogTown_House1_Text_20366F: @ 820366F
.string "That's the story I heard when I was\n"
.string "just a little kid.$"
PacifidlogTown_House1_Text_20373A: @ 820373A
PacifidlogTown_House1_Text_SixDotsOpenThreeDoors: @ 820373A
.string "“Six dots open three doors.”\p"
.string "Grandpa used to say that, but I don't\n"
.string "know what he meant.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_203792",
"script": "PacifidlogTown_House2_EventScript_FanClubYoungerBrother",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_203891",
"script": "PacifidlogTown_House2_EventScript_HappyAzurill",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_2038AC",
"script": "PacifidlogTown_House2_EventScript_UnhappyAzurill",
"flag": "0"
}
],

View File

@@ -1,101 +1,101 @@
PacifidlogTown_House2_MapScripts:: @ 8203791
.byte 0
PacifidlogTown_House2_EventScript_203792:: @ 8203792
PacifidlogTown_House2_EventScript_FanClubYoungerBrother:: @ 8203792
lock
faceplayer
dotimebasedevents
call PacifidlogTown_House2_EventScript_2037DE
goto_if_set FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, PacifidlogTown_House2_EventScript_20387E
call_if_set FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_2037F8
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_203801
call PacifidlogTown_House2_EventScript_UpdateFanClubTMFlag
goto_if_set FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, PacifidlogTown_House2_EventScript_ComeBackInXDays
call_if_set FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_MonAssessment
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_FirstMonAssessment
setflag FLAG_MET_FANCLUB_YOUNGER_BROTHER
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 4
goto_if_ge PacifidlogTown_House2_EventScript_203816
goto_if_ge PacifidlogTown_House2_EventScript_GiveReturn
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 2
goto_if_ge PacifidlogTown_House2_EventScript_203845
goto PacifidlogTown_House2_EventScript_20384F
goto_if_ge PacifidlogTown_House2_EventScript_PutInEffort
goto PacifidlogTown_House2_EventScript_GiveFrustration
end
PacifidlogTown_House2_EventScript_2037DE:: @ 82037DE
PacifidlogTown_House2_EventScript_UpdateFanClubTMFlag:: @ 82037DE
goto_if_unset FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, Common_EventScript_NopReturn
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
compare VAR_RESULT, 0
call_if_eq PacifidlogTown_House2_EventScript_203812
call_if_eq PacifidlogTown_House2_EventScript_ClearReceivedFanClubTM
return
PacifidlogTown_House2_EventScript_2037F8:: @ 82037F8
msgbox PacifidlogTown_House2_Text_20395B, MSGBOX_DEFAULT
PacifidlogTown_House2_EventScript_MonAssessment:: @ 82037F8
msgbox PacifidlogTown_House2_Text_AhYourPokemon, MSGBOX_DEFAULT
return
PacifidlogTown_House2_EventScript_203801:: @ 8203801
msgbox PacifidlogTown_House2_Text_2038C7, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_20395B, MSGBOX_DEFAULT
PacifidlogTown_House2_EventScript_FirstMonAssessment:: @ 8203801
msgbox PacifidlogTown_House2_Text_ChairmansYoungerBrotherOnVacation, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_AhYourPokemon, MSGBOX_DEFAULT
return
PacifidlogTown_House2_EventScript_203812:: @ 8203812
PacifidlogTown_House2_EventScript_ClearReceivedFanClubTM:: @ 8203812
clearflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
return
PacifidlogTown_House2_EventScript_203816:: @ 8203816
msgbox PacifidlogTown_House2_Text_20396D, MSGBOX_DEFAULT
PacifidlogTown_House2_EventScript_GiveReturn:: @ 8203816
msgbox PacifidlogTown_House2_Text_AdoringPokemonTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_ExplainReturnFrustration, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_203845:: @ 8203845
msgbox PacifidlogTown_House2_Text_2039CE, MSGBOX_DEFAULT
PacifidlogTown_House2_EventScript_PutInEffort:: @ 8203845
msgbox PacifidlogTown_House2_Text_PutInSomeMoreEffort, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_20384F:: @ 820384F
msgbox PacifidlogTown_House2_Text_203A2F, MSGBOX_DEFAULT
PacifidlogTown_House2_EventScript_GiveFrustration:: @ 820384F
msgbox PacifidlogTown_House2_Text_ViciousPokemonTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM21
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_ExplainReturnFrustration, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_20387E:: @ 820387E
PacifidlogTown_House2_EventScript_ComeBackInXDays:: @ 820387E
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
buffernumberstring 0, VAR_RESULT
msgbox PacifidlogTown_House2_Text_203AF4, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_GetGoodTMInXDays, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_203891:: @ 8203891
PacifidlogTown_House2_EventScript_HappyAzurill:: @ 8203891
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 0
msgbox PacifidlogTown_House2_Text_203B8D, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_Rurii, MSGBOX_DEFAULT
waitmoncry
msgbox PacifidlogTown_House2_Text_203B9D, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_VeryFriendlyWithTrainer, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_2038AC:: @ 82038AC
PacifidlogTown_House2_EventScript_UnhappyAzurill:: @ 82038AC
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 2
msgbox PacifidlogTown_House2_Text_203BCE, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_Rururi, MSGBOX_DEFAULT
waitmoncry
msgbox PacifidlogTown_House2_Text_203BDF, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_DoesntLikeTrainerVeryMuch, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_Text_2038C7: @ 82038C7
PacifidlogTown_House2_Text_ChairmansYoungerBrotherOnVacation: @ 82038C7
.string "Er-hem!\p"
.string "I am the POKéMON FAN CLUB's most\n"
.string "important person, the CHAIRMAN's\l"
@@ -103,50 +103,50 @@ PacifidlogTown_House2_Text_2038C7: @ 82038C7
.string "I'm here enjoying my vacation with\n"
.string "POKéMON, yes, indeed.$"
PacifidlogTown_House2_Text_20395B: @ 820395B
PacifidlogTown_House2_Text_AhYourPokemon: @ 820395B
.string "Ah!\n"
.string "Your POKéMON…$"
PacifidlogTown_House2_Text_20396D: @ 820396D
PacifidlogTown_House2_Text_AdoringPokemonTakeThis: @ 820396D
.string "It clearly likes you very much.\p"
.string "A POKéMON that adoring and adorable\n"
.string "deserves a TM like this, no?$"
PacifidlogTown_House2_Text_2039CE: @ 82039CE
PacifidlogTown_House2_Text_PutInSomeMoreEffort: @ 82039CE
.string "Hmm…\n"
.string "It's not bad, but it's also not good.\p"
.string "You, as the TRAINER, need to put in\n"
.string "some more effort.$"
PacifidlogTown_House2_Text_203A2F: @ 8203A2F
PacifidlogTown_House2_Text_ViciousPokemonTakeThis: @ 8203A2F
.string "It has a vicious look to it.\p"
.string "A frightening POKéMON like that\n"
.string "deserves a TM like this.$"
PacifidlogTown_House2_Text_203A85: @ 8203A85
PacifidlogTown_House2_Text_ExplainReturnFrustration: @ 8203A85
.string "If a POKéMON likes you a lot, RETURN's\n"
.string "power is enhanced.\p"
.string "If it doesn't like you, FRUSTRATION's\n"
.string "power goes up.$"
PacifidlogTown_House2_Text_203AF4: @ 8203AF4
PacifidlogTown_House2_Text_GetGoodTMInXDays: @ 8203AF4
.string "Oh, yes. In about {STR_VAR_1} or so days,\n"
.string "I should be getting a good TM or two.\p"
.string "You should come see me then.\n"
.string "I'll give you a TM that's suitable for\l"
.string "your POKéMON.$"
PacifidlogTown_House2_Text_203B8D: @ 8203B8D
PacifidlogTown_House2_Text_Rurii: @ 8203B8D
.string "AZURILL: Rurii.$"
PacifidlogTown_House2_Text_203B9D: @ 8203B9D
PacifidlogTown_House2_Text_VeryFriendlyWithTrainer: @ 8203B9D
.string "It appears to be very friendly with the\n"
.string "TRAINER.$"
PacifidlogTown_House2_Text_203BCE: @ 8203BCE
PacifidlogTown_House2_Text_Rururi: @ 8203BCE
.string "AZURILL: Rururi!$"
PacifidlogTown_House2_Text_203BDF: @ 8203BDF
PacifidlogTown_House2_Text_DoesntLikeTrainerVeryMuch: @ 8203BDF
.string "It doesn't appear to like the TRAINER\n"
.string "very much.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House3_EventScript_203CB5",
"script": "PacifidlogTown_House3_EventScript_Girl",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House3_EventScript_203C11",
"script": "PacifidlogTown_House3_EventScript_Trader",
"flag": "0"
}
],

View File

@@ -1,59 +1,59 @@
PacifidlogTown_House3_MapScripts:: @ 8203C10
.byte 0
PacifidlogTown_House3_EventScript_203C11:: @ 8203C11
PacifidlogTown_House3_EventScript_Trader:: @ 8203C11
lock
faceplayer
goto_if_set FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED, PacifidlogTown_House3_EventScript_203CAB
goto_if_set FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED, PacifidlogTown_House3_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_HORSEA
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox PacifidlogTown_House3_Text_203CBE, MSGBOX_YESNO
msgbox PacifidlogTown_House3_Text_WillingToTradeIt, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq PacifidlogTown_House3_EventScript_203C93
goto_if_eq PacifidlogTown_House3_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
goto_if_eq PacifidlogTown_House3_EventScript_203C93
goto_if_eq PacifidlogTown_House3_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
goto_if_ne PacifidlogTown_House3_EventScript_203C9D
goto_if_ne PacifidlogTown_House3_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
bufferspeciesname 0, VAR_0x8009
msgbox PacifidlogTown_House3_Text_203D87, MSGBOX_DEFAULT
msgbox PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou, MSGBOX_DEFAULT
setflag FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED
release
end
PacifidlogTown_House3_EventScript_203C93:: @ 8203C93
msgbox PacifidlogTown_House3_Text_203E12, MSGBOX_DEFAULT
PacifidlogTown_House3_EventScript_DeclineTrade:: @ 8203C93
msgbox PacifidlogTown_House3_Text_NotDesperateOrAnything, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_203C9D:: @ 8203C9D
PacifidlogTown_House3_EventScript_NotRequestedMon:: @ 8203C9D
bufferspeciesname 0, VAR_0x8009
msgbox PacifidlogTown_House3_Text_203DDE, MSGBOX_DEFAULT
msgbox PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_203CAB:: @ 8203CAB
msgbox PacifidlogTown_House3_Text_203E7F, MSGBOX_DEFAULT
PacifidlogTown_House3_EventScript_TradeCompleted:: @ 8203CAB
msgbox PacifidlogTown_House3_Text_ReallyWantedToGetBagon, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_203CB5:: @ 8203CB5
msgbox PacifidlogTown_House3_Text_203EF1, MSGBOX_NPC
PacifidlogTown_House3_EventScript_Girl:: @ 8203CB5
msgbox PacifidlogTown_House3_Text_IsThatAPokedex, MSGBOX_NPC
end
PacifidlogTown_House3_Text_203CBE: @ 8203CBE
PacifidlogTown_House3_Text_WillingToTradeIt: @ 8203CBE
.string "Check out this {STR_VAR_2}!\p"
.string "It's the {STR_VAR_2} that I caught\n"
.string "yesterday to celebrate my birthday!\p"
@@ -62,29 +62,29 @@ PacifidlogTown_House3_Text_203CBE: @ 8203CBE
.string "I'll tell you what. I might be willing\n"
.string "to trade it for a {STR_VAR_1}.$"
PacifidlogTown_House3_Text_203D87: @ 8203D87
PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou: @ 8203D87
.string "Oh, so this is a {STR_VAR_1}?\p"
.string "It's sort of like a {STR_VAR_2},\n"
.string "and yet it's subtly different.\p"
.string "Thank you!$"
PacifidlogTown_House3_Text_203DDE: @ 8203DDE
PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon: @ 8203DDE
.string "No, no, no! I won't accept any\n"
.string "less than a real {STR_VAR_1}!$"
PacifidlogTown_House3_Text_203E12: @ 8203E12
PacifidlogTown_House3_Text_NotDesperateOrAnything: @ 8203E12
.string "Oh, so you're not going to go through\n"
.string "with this?\p"
.string "That's cool. I'm not desperate to make\n"
.string "a trade or anything.$"
PacifidlogTown_House3_Text_203E7F: @ 8203E7F
PacifidlogTown_House3_Text_ReallyWantedToGetBagon: @ 8203E7F
.string "I know I could go looking for one\n"
.string "on my own, but…\p"
.string "But I really wanted to get a BAGON\n"
.string "that another TRAINER caught…$"
PacifidlogTown_House3_Text_203EF1: @ 8203EF1
PacifidlogTown_House3_Text_IsThatAPokedex: @ 8203EF1
.string "Is that a POKéDEX?\p"
.string "Did you get to meet a lot of different\n"
.string "POKéMON?\p"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_203F55",
"script": "PacifidlogTown_House4_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_203F4C",
"script": "PacifidlogTown_House4_EventScript_LittleGirl",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_203F5E",
"script": "PacifidlogTown_House4_EventScript_Boy",
"flag": "0"
}
],

View File

@@ -1,53 +1,53 @@
PacifidlogTown_House4_MapScripts:: @ 8203F4B
.byte 0
PacifidlogTown_House4_EventScript_203F4C:: @ 8203F4C
msgbox PacifidlogTown_House4_Text_204017, MSGBOX_NPC
PacifidlogTown_House4_EventScript_LittleGirl:: @ 8203F4C
msgbox PacifidlogTown_House4_Text_SkyPokemon, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_203F55:: @ 8203F55
msgbox PacifidlogTown_House4_Text_203F93, MSGBOX_NPC
PacifidlogTown_House4_EventScript_Woman:: @ 8203F55
msgbox PacifidlogTown_House4_Text_PeopleSawHighFlyingPokemon, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_203F5E:: @ 8203F5E
PacifidlogTown_House4_EventScript_Boy:: @ 8203F5E
lock
faceplayer
msgbox PacifidlogTown_House4_Text_204035, MSGBOX_YESNO
msgbox PacifidlogTown_House4_Text_WhereDidYouComeFrom, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq PacifidlogTown_House4_EventScript_203F7F
goto_if_eq PacifidlogTown_House4_EventScript_Yes
compare VAR_RESULT, NO
goto_if_eq PacifidlogTown_House4_EventScript_203F89
goto_if_eq PacifidlogTown_House4_EventScript_No
end
PacifidlogTown_House4_EventScript_203F7F:: @ 8203F7F
msgbox PacifidlogTown_House4_Text_20404E, MSGBOX_DEFAULT
PacifidlogTown_House4_EventScript_Yes:: @ 8203F7F
msgbox PacifidlogTown_House4_Text_YesTown, MSGBOX_DEFAULT
release
end
PacifidlogTown_House4_EventScript_203F89:: @ 8203F89
msgbox PacifidlogTown_House4_Text_204084, MSGBOX_DEFAULT
PacifidlogTown_House4_EventScript_No:: @ 8203F89
msgbox PacifidlogTown_House4_Text_YouHaveToComeFromSomewhere, MSGBOX_DEFAULT
release
end
PacifidlogTown_House4_Text_203F93: @ 8203F93
PacifidlogTown_House4_Text_PeopleSawHighFlyingPokemon: @ 8203F93
.string "People were saying they saw a POKéMON\n"
.string "flying high above HOENN.\p"
.string "Is it flying around all the time?\n"
.string "Doesn't it need to rest somewhere?$"
PacifidlogTown_House4_Text_204017: @ 8204017
PacifidlogTown_House4_Text_SkyPokemon: @ 8204017
.string "A sky POKéMON!\n"
.string "A sky POKéMON!$"
PacifidlogTown_House4_Text_204035: @ 8204035
PacifidlogTown_House4_Text_WhereDidYouComeFrom: @ 8204035
.string "Where did you come from?$"
PacifidlogTown_House4_Text_20404E: @ 820404E
PacifidlogTown_House4_Text_YesTown: @ 820404E
.string "Yes?\n"
.string "YES TOWN?\p"
.string "I've never heard of a place like that.$"
PacifidlogTown_House4_Text_204084: @ 8204084
PacifidlogTown_House4_Text_YouHaveToComeFromSomewhere: @ 8204084
.string "No? That doesn't make any sense.\n"
.string "You have to come from somewhere.\p"
.string "Oh! Wait! You're not going to say you\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House5_EventScript_204111",
"script": "PacifidlogTown_House5_EventScript_MirageIslandWatcher",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House5_EventScript_204137",
"script": "PacifidlogTown_House5_EventScript_Gentleman",
"flag": "0"
}
],

View File

@@ -1,33 +1,33 @@
PacifidlogTown_House5_MapScripts:: @ 8204110
.byte 0
PacifidlogTown_House5_EventScript_204111:: @ 8204111
PacifidlogTown_House5_EventScript_MirageIslandWatcher:: @ 8204111
lock
faceplayer
specialvar VAR_RESULT, IsMirageIslandPresent
compare VAR_RESULT, 1
goto_if_eq PacifidlogTown_House5_EventScript_20412D
msgbox PacifidlogTown_House5_Text_204140, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq PacifidlogTown_House5_EventScript_MirageIslandPresent
msgbox PacifidlogTown_House5_Text_CantSeeMirageIslandToday, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_20412D:: @ 820412D
msgbox PacifidlogTown_House5_Text_204161, MSGBOX_DEFAULT
PacifidlogTown_House5_EventScript_MirageIslandPresent:: @ 820412D
msgbox PacifidlogTown_House5_Text_CanSeeMirageIslandToday, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_204137:: @ 8204137
msgbox PacifidlogTown_House5_Text_20418B, MSGBOX_NPC
PacifidlogTown_House5_EventScript_Gentleman:: @ 8204137
msgbox PacifidlogTown_House5_Text_MirageIslandAppearDependingOnWeather, MSGBOX_NPC
end
PacifidlogTown_House5_Text_204140: @ 8204140
PacifidlogTown_House5_Text_CantSeeMirageIslandToday: @ 8204140
.string "I can't see MIRAGE ISLAND today…$"
PacifidlogTown_House5_Text_204161: @ 8204161
PacifidlogTown_House5_Text_CanSeeMirageIslandToday: @ 8204161
.string "Oh! Oh my!\n"
.string "I can see MIRAGE ISLAND today!$"
PacifidlogTown_House5_Text_20418B: @ 820418B
PacifidlogTown_House5_Text_MirageIslandAppearDependingOnWeather: @ 820418B
.string "MIRAGE ISLAND…\p"
.string "It must become visible and invisible\n"
.string "depending on the weather conditions\l"

View File

@@ -16,7 +16,7 @@ EventScript_FieldWhiteOut:: @ 82736D9
special Script_FadeOutMapMusic
waitstate
fadescreen 1
call_if_set FLAG_FLANNERY_GIVES_BADGE_INFO, EventScript_SetRespawnLavaridgePkmnCenter
call_if_set FLAG_WHITEOUT_TO_LAVARIDGE, EventScript_SetRespawnLavaridgePkmnCenter
special SetCB2WhiteOut
waitstate
end

View File

@@ -0,0 +1,53 @@
EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: @ 82717C1
special SetChampionSaveWarp
setflag FLAG_IS_CHAMPION
call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries
compare VAR_FOSSIL_MANIAC_STATE, 0
call_if_eq EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
setflag FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY
clearflag FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY
setvar VAR_STEVENS_HOUSE_STATE, 2
setflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
clearflag FLAG_HIDE_VICTORY_ROAD_EXIT_WALLY
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL
clearflag FLAG_HIDE_LILYCOVE_HARBOR_SSTIDAL
setflag FLAG_HIDE_SAFARI_ZONE_SOUTH_CONSTRUCTION_WORKERS
clearflag FLAG_HIDE_SAFARI_ZONE_SOUTH_EAST_EXPANSION
setflag FLAG_HIDE_LILYCOVE_CITY_RIVAL
special UpdateTrainerFanClubGameClear
call_if_unset FLAG_RECEIVED_SS_TICKET, EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent
call_if_unset FLAG_RECEIVED_BELDUM, EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 0
call_if_eq EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent
return
EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829
clearflag FLAG_DEFEATED_MEW
clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS
clearflag FLAG_DEFEATED_DEOXYS
clearflag FLAG_DEFEATED_LUGIA
clearflag FLAG_DEFEATED_HO_OH
return
EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady:: @ 8271839
setvar VAR_FOSSIL_MANIAC_STATE, 1
return
EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum:: @ 827183F
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
return
EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent:: @ 8271843
setvar VAR_LITTLEROOT_HOUSES_STATE, 3
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 3
clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD
return
EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent:: @ 8271851
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1
return

View File

@@ -199,8 +199,8 @@ EventScript_ResetAllMapFlags:: @ 82715DE
setflag FLAG_HIDE_ROUTE_119_RIVAL_ON_BIKE
setflag FLAG_HIDE_ROUTE_104_RIVAL
setflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
setflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_1
setflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_2
setflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL
setflag FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_ON_BIKE
setflag FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL
setflag FLAG_HIDE_METEOR_FALLS_TEAM_AQUA
setflag FLAG_HIDE_DEWFORD_HALL_SLUDGE_BOMB_MAN

View File

@@ -180,7 +180,7 @@ gSpecials:: @ 81DBA64
def_special sub_813BA30
def_special UpdateMovedLilycoveFanClubMembers
def_special sub_813BF60
def_special sub_813BA60
def_special UpdateTrainerFanClubGameClear
def_special sub_813BF7C
def_special RockSmashWildEncounter
def_special GabbyAndTyGetBattleNum
@@ -351,7 +351,7 @@ gSpecials:: @ 81DBA64
def_special sub_81653CC
def_special DoesPartyHaveEnigmaBerry
def_special ScriptRandom
def_special sub_81AFDD0
def_special SetChampionSaveWarp
def_special TryPutTreasureInvestigatorsOnAir
def_special TryPutLotteryWinnerReportOnAir
def_special sub_80EE72C

View File

@@ -119,7 +119,7 @@
#define FLAG_OCEANIC_MUSEUM_MET_REPORTER 0x69
#define FLAG_RECEIVED_HM04 0x6A
#define FLAG_RECEIVED_HM06 0x6B
#define FLAG_FLANNERY_GIVES_BADGE_INFO 0x6C
#define FLAG_WHITEOUT_TO_LAVARIDGE 0x6C // Set after defeating Flannery, so the player cant white out from poison before receiving Go Goggles
#define FLAG_RECEIVED_HM05 0x6D
#define FLAG_RECEIVED_HM02 0x6E
#define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F
@@ -969,8 +969,8 @@
#define FLAG_HIDE_MT_CHIMNEY_TEAM_AQUA 0x39E
#define FLAG_HIDE_MT_CHIMNEY_TEAM_MAGMA 0x39F
#define FLAG_HIDE_FALLARBOR_HOUSE_PROF_COZMO 0x3A0
#define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_1 0x3A1
#define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_2 0x3A2
#define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL 0x3A1
#define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_ON_BIKE 0x3A2
#define FLAG_HIDE_RUSTURF_TUNNEL_ROCK_1 0x3A3
#define FLAG_HIDE_RUSTURF_TUNNEL_ROCK_2 0x3A4
#define FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL 0x3A5

View File

@@ -6,9 +6,14 @@
#define POKECENTER_SAVEWARP (1 << 1)
#define LOBBY_SAVEWARP (1 << 2)
#define UNK_SPECIAL_SAVE_WARP_FLAG_3 (1 << 3)
//
//
//
//
#define CHAMPION_SAVEWARP (1 << 7)
void TrySetMapSaveWarpStatus(void);
void sub_81AFDA0(void);
void sub_81AFDD0(void);
void SetChampionSaveWarp(void);
#endif // GUARD_SAVE_LOCATION_H

View File

@@ -4035,7 +4035,7 @@ void sub_813BA30(void)
}
}
void sub_813BA60(void)
void UpdateTrainerFanClubGameClear(void)
{
if (!((gSaveBlock1Ptr->vars[VAR_FANCLUB_UNKNOWN_1 - VARS_START] >> 7) & 1))
{

View File

@@ -129,7 +129,7 @@ void sub_81AFDA0(void)
gSaveBlock2Ptr->field_A8 |= 0x8;
}
void sub_81AFDD0(void)
void SetChampionSaveWarp(void)
{
gSaveBlock2Ptr->specialSaveWarpFlags |= 0x80;
gSaveBlock2Ptr->specialSaveWarpFlags |= CHAMPION_SAVEWARP;
}

View File

@@ -30,6 +30,7 @@
#include "party_menu.h"
#include "pokemon_jump.h"
#include "random.h"
#include "save_location.h"
#include "script.h"
#include "script_pokemon_util_80F87D8.h"
#include "sound.h"
@@ -1078,7 +1079,7 @@ u32 sub_8013B8C(struct UnkStruct_Group *arg0, s32 id)
if (gUnknown_02022C2C == 4 && structPtr->unk.field_0.unk_00.unk_01_2 != 3)
{
if (!(gSaveBlock2Ptr->specialSaveWarpFlags & 0x80))
if (!(gSaveBlock2Ptr->specialSaveWarpFlags & CHAMPION_SAVEWARP))
return 1;
else if (structPtr->unk.field_0.unk_00.isChampion)
return 0;