2022-05-19 19:14:13 +02:00
|
|
|
MauvilleCity_BikeShop_MapScripts::
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_Rydel::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RECEIVED_BIKE, MauvilleCity_BikeShop_EventScript_AskSwitchBikes
|
|
|
|
goto_if_set FLAG_DECLINED_BIKE, MauvilleCity_BikeShop_EventScript_SkipGreeting
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_RydelGreeting, MSGBOX_DEFAULT
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_DidYouComeFromFarAway, MSGBOX_YESNO
|
|
|
|
goto_if_eq VAR_RESULT, YES, MauvilleCity_BikeShop_EventScript_YesFar
|
|
|
|
goto_if_eq VAR_RESULT, NO, MauvilleCity_BikeShop_EventScript_NotFar
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_SkipGreeting::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_DidYouComeFromFarAway, MSGBOX_YESNO
|
|
|
|
goto_if_eq VAR_RESULT, YES, MauvilleCity_BikeShop_EventScript_YesFar
|
|
|
|
goto_if_eq VAR_RESULT, NO, MauvilleCity_BikeShop_EventScript_NotFar
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ChooseBike::
|
|
|
|
message MauvilleCity_BikeShop_Text_ExplainBikesChooseWhichOne
|
|
|
|
waitmessage
|
|
|
|
multichoice 21, 8, MULTI_BIKE, TRUE
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, MauvilleCity_BikeShop_EventScript_GetMachBike
|
|
|
|
case 1, MauvilleCity_BikeShop_EventScript_GetAcroBike
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_NotFar::
|
|
|
|
setflag FLAG_DECLINED_BIKE
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_GuessYouDontNeedBike, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_YesFar::
|
|
|
|
setflag FLAG_RECEIVED_BIKE
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseBike
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_GetMachBike::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_ChoseMachBike, MSGBOX_DEFAULT
|
|
|
|
giveitem ITEM_MACH_BIKE
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_GetAcroBike::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_ChoseAcroBike, MSGBOX_DEFAULT
|
|
|
|
giveitem ITEM_ACRO_BIKE
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_ComeBackToSwitchBikes, MSGBOX_DEFAULT
|
|
|
|
special SwapRegisteredBike
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_AskSwitchBikes::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_WantToSwitchBikes, MSGBOX_YESNO
|
|
|
|
goto_if_eq VAR_RESULT, YES, MauvilleCity_BikeShop_EventScript_SwitchBikes
|
|
|
|
goto_if_eq VAR_RESULT, NO, MauvilleCity_BikeShop_EventScript_KeepBike
|
|
|
|
end
|
|
|
|
|
|
|
|
@ If the player does not have a bike on them Rydel assumes its stored in the PC
|
|
|
|
MauvilleCity_BikeShop_EventScript_SwitchBikes::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_IllSwitchBikes, MSGBOX_DEFAULT
|
|
|
|
checkitem ITEM_ACRO_BIKE
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, MauvilleCity_BikeShop_EventScript_SwitchAcroForMach
|
|
|
|
checkitem ITEM_MACH_BIKE
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, MauvilleCity_BikeShop_EventScript_SwitchMachForAcro
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_OhYourBikeIsInPC, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_KeepBike::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_HappyYouLikeIt, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_SwitchAcroForMach::
|
|
|
|
incrementgamestat GAME_STAT_TRADED_BIKES
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_ExchangedAcroForMach, MSGBOX_DEFAULT
|
|
|
|
removeitem ITEM_ACRO_BIKE
|
|
|
|
giveitem ITEM_MACH_BIKE
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_SwitchMachForAcro::
|
|
|
|
incrementgamestat GAME_STAT_TRADED_BIKES
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_ExchangedMachForAcro, MSGBOX_DEFAULT
|
|
|
|
removeitem ITEM_MACH_BIKE
|
|
|
|
giveitem ITEM_ACRO_BIKE
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_Assistant::
|
|
|
|
msgbox MauvilleCity_BikeShop_Text_HandbooksAreInBack, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_MachBikeHandbook::
|
|
|
|
message MauvilleCity_BikeShop_Text_MachHandbookWhichPage
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseMachHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ChooseMachHandbookPage::
|
|
|
|
multichoice 0, 0, MULTI_MACH_BIKE_INFO, FALSE
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, MauvilleCity_BikeShop_EventScript_HowToRide
|
|
|
|
case 1, MauvilleCity_BikeShop_EventScript_HowToTurn
|
|
|
|
case 2, MauvilleCity_BikeShop_EventScript_SandySlopes
|
|
|
|
case 3, MauvilleCity_BikeShop_EventScript_ExitMachHandbook
|
|
|
|
case MULTI_B_PRESSED, MauvilleCity_BikeShop_EventScript_ExitMachHandbook
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_HowToRide::
|
|
|
|
message MauvilleCity_BikeShop_Text_HowToRideMachBike
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseMachHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_HowToTurn::
|
|
|
|
message MauvilleCity_BikeShop_Text_HowToTurnMachBike
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseMachHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_SandySlopes::
|
|
|
|
message MauvilleCity_BikeShop_Text_SandySlopes
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseMachHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ExitMachHandbook::
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_AcroBikeHandbook::
|
|
|
|
message MauvilleCity_BikeShop_Text_AcroHandbookWhichPage
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseAcroHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ChooseAcroHandbookPage::
|
|
|
|
multichoice 0, 0, MULTI_ACRO_BIKE_INFO, FALSE
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, MauvilleCity_BikeShop_EventScript_Wheelies
|
|
|
|
case 1, MauvilleCity_BikeShop_EventScript_BunnyHops
|
|
|
|
case 2, MauvilleCity_BikeShop_EventScript_Jumps
|
|
|
|
case 3, MauvilleCity_BikeShop_EventScript_ExitAcroHandbook
|
|
|
|
case MULTI_B_PRESSED, MauvilleCity_BikeShop_EventScript_ExitAcroHandbook
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_Wheelies::
|
|
|
|
message MauvilleCity_BikeShop_Text_Wheelies
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseAcroHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_BunnyHops::
|
|
|
|
message MauvilleCity_BikeShop_Text_BunnyHops
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseAcroHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_Jumps::
|
|
|
|
message MauvilleCity_BikeShop_Text_Jumps
|
|
|
|
waitmessage
|
|
|
|
goto MauvilleCity_BikeShop_EventScript_ChooseAcroHandbookPage
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_EventScript_ExitAcroHandbook::
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_RydelGreeting:
|
|
|
|
.string "Well, well, what have we here?\n"
|
|
|
|
.string "A most energetic customer!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Me? You may call me Rydel.\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm the owner of this cycle shop.$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_DidYouComeFromFarAway:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Your Running Shoes…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "They're awfully filthy.\p"
|
|
|
|
.string "Did you come from far away?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_GuessYouDontNeedBike:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Is that right?\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Then, I guess you have no need for\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "any of my Bikes.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ExplainBikesChooseWhichOne:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Hm, hm… … … … …\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "You're saying that you came all this\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "way from Littleroot?\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "My goodness!\n"
|
|
|
|
.string "That's ridiculously far!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "If you had one of my Bikes, you could\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "go anywhere easily while feeling the\l"
|
|
|
|
.string "gentle caress of the wind!\p"
|
|
|
|
.string "I'll tell you what!\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I'll give you a Bike!\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Oh, wait a second!\p"
|
|
|
|
.string "I forgot to tell you that there are\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "two kinds of Bikes!\p"
|
|
|
|
.string "They are the Mach Bike and\n"
|
|
|
|
.string "the Acro Bike!\p"
|
|
|
|
.string "The Mach Bike is for cyclists who want\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "to feel the wind with their bodies!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "And an Acro Bike is for those who\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "prefer technical rides!\p"
|
|
|
|
.string "I'm a real sweetheart, so you can\n"
|
|
|
|
.string "have whichever one you like!\p"
|
|
|
|
.string "Which one will you choose?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ChoseMachBike:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} chose the Mach Bike.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ChoseAcroBike:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} chose the Acro Bike.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ComeBackToSwitchBikes:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: If you get the urge to switch\n"
|
|
|
|
.string "Bikes, just come see me!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_WantToSwitchBikes:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Oh? Were you thinking about\n"
|
|
|
|
.string "switching Bikes?$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_IllSwitchBikes:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Okay, no problem!\n"
|
|
|
|
.string "I'll switch Bikes for you!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ExchangedMachForAcro:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} got the Mach Bike exchanged\n"
|
|
|
|
.string "for an Acro Bike.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_ExchangedAcroForMach:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} got the Acro Bike exchanged\n"
|
|
|
|
.string "for a Mach Bike.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_HappyYouLikeIt:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rydel: Good, good!\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm happy that you like it!$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_OhYourBikeIsInPC:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Oh? What happened to that Bike\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I gave you?\p"
|
|
|
|
.string "Oh, I get it, you stored it using your PC.\p"
|
|
|
|
.string "Well, take it out of PC storage,\n"
|
|
|
|
.string "and I'll be happy to exchange it!\p"
|
|
|
|
.string "May the wind always be at your back\n"
|
|
|
|
.string "on your adventure!$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_HandbooksAreInBack:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I'm learning about Bikes while\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I work here.\p"
|
|
|
|
.string "If you need advice on how to ride your\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Bike, there're a couple handbooks in\l"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "the back.$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_MachHandbookWhichPage:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "It's a handbook on the Mach Bike.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Which page do you want to read?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_HowToRideMachBike:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "A Bike moves in the direction that\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "the + Control Pad is pressed.\p"
|
|
|
|
.string "It will speed up once it gets rolling.\p"
|
|
|
|
.string "To stop, release the + Control Pad.\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The Bike will slow to a stop.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_HowToTurnMachBike:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "A Mach Bike is speedy, but it can't\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "stop very quickly.\p"
|
|
|
|
.string "It gets a little tricky to get around\n"
|
|
|
|
.string "a corner.\p"
|
|
|
|
.string "Release the + Control Pad a little\n"
|
|
|
|
.string "before the corner and slow down.\p"
|
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_SandySlopes:
|
|
|
|
.string "There are small sandy slopes\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "throughout the Hoenn region.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "The loose, crumbly sand makes it\n"
|
|
|
|
.string "impossible to climb normally.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "But if you have a Mach Bike, you can\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "zip up a sandy slope.\p"
|
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_AcroHandbookWhichPage:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "It's a handbook on the Acro Bike.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Which page do you want to read?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_Wheelies:
|
|
|
|
.string "Press the B Button while riding,\n"
|
|
|
|
.string "and the front wheel lifts up.\p"
|
|
|
|
.string "You can zip around with the front\n"
|
|
|
|
.string "wheel up using the + Control Pad.\p"
|
|
|
|
.string "This technique is called a wheelie.\p"
|
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_BunnyHops:
|
|
|
|
.string "Keeping the B Button pressed,\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "your Bike can hop on the spot.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "This technique is called a bunny hop.\p"
|
|
|
|
.string "You can ride while hopping, too.\p"
|
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|
|
|
|
MauvilleCity_BikeShop_Text_Jumps:
|
|
|
|
.string "Press the B Button and the + Control\n"
|
|
|
|
.string "Pad at the same time to jump.\p"
|
|
|
|
.string "Press the + Control Pad to the side\n"
|
|
|
|
.string "to jump sideways.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Press it backwards to make the Bike\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "change directions while jumping.\p"
|
|
|
|
.string "Want to read a different page?$"
|
|
|
|
|