mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-14 04:59:06 -05:00
65 lines
1.5 KiB
ArmAsm
65 lines
1.5 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/cycle_shop.h"
|
|
|
|
|
|
ScriptEntry CycleShop_PokefanM
|
|
ScriptEntry CycleShop_Clefairy
|
|
ScriptEntry CycleShop_Youngster
|
|
ScriptEntry CycleShop_Manual
|
|
ScriptEntry CycleShop_Catalog
|
|
ScriptEntryEnd
|
|
|
|
CycleShop_PokefanM:
|
|
PlaySE SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet FLAG_RECEIVED_BICYCLE, CycleShop_IllReadOperatingManual
|
|
Message CycleShop_Text_ThanksForRescuingMe
|
|
SetVar VAR_0x8004, ITEM_BICYCLE
|
|
SetVar VAR_0x8005, 1
|
|
Common_GiveItemQuantity
|
|
SetFlag FLAG_RECEIVED_BICYCLE
|
|
SetVar VAR_ETERNA_CITY_BLOCK_EXITS_STATE, 1
|
|
SetBlackOutWarpId 9
|
|
GoTo CycleShop_IllReadOperatingManual
|
|
End
|
|
|
|
CycleShop_IllReadOperatingManual:
|
|
Message CycleShop_Text_IllReadOperatingManual
|
|
WaitButton
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
CycleShop_Clefairy:
|
|
PokemonCryAndMessage SPECIES_CLEFAIRY, CycleShop_Text_ClefairyPipPiih
|
|
End
|
|
|
|
CycleShop_Youngster:
|
|
PlaySE SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet FLAG_TEAM_GALACTIC_LEFT_ETERNA_BUILDING, CycleShop_WhatWasTeamGalacticTrying
|
|
Message CycleShop_Text_ManagersGoneOff
|
|
WaitButton
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
CycleShop_WhatWasTeamGalacticTrying:
|
|
Message CycleShop_Text_WhatWasTeamGalacticTrying
|
|
WaitButton
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
CycleShop_Manual:
|
|
EventMessage CycleShop_Text_ManualOnLatestBicycle
|
|
End
|
|
|
|
CycleShop_Catalog:
|
|
EventMessage CycleShop_Text_CatalogFromHoenn
|
|
End
|
|
|
|
.balign 4, 0
|