You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
MobileTradeRoom matches MobileBattleRoom
This commit is contained in:
47
maps/MobileTradeRoom.asm
Normal file
47
maps/MobileTradeRoom.asm
Normal file
@@ -0,0 +1,47 @@
|
||||
MobileTradeRoom_MapScripts:
|
||||
db 2 ; scene scripts
|
||||
scene_script .InitializeMobileTradeRoom ; SCENE_MOBILETRADEROOM_0
|
||||
scene_script .DummyScene ; SCENE_MOBILETRADEROOM_1
|
||||
|
||||
db 0 ; callbacks
|
||||
|
||||
.InitializeMobileTradeRoom:
|
||||
priorityjump .InitializeAndPreparePokecenter2F
|
||||
end
|
||||
|
||||
.DummyScene:
|
||||
end
|
||||
|
||||
.InitializeAndPreparePokecenter2F:
|
||||
setscene SCENE_MOBILETRADEROOM_1
|
||||
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_4
|
||||
end
|
||||
|
||||
MapMobileTradeRoomSignpost0Script:
|
||||
refreshscreen
|
||||
special Function1037c2
|
||||
writetext MobileTradeRoom_EstablishingCommsText
|
||||
waitbutton
|
||||
reloadmappart
|
||||
special Function101231
|
||||
closetext
|
||||
end
|
||||
|
||||
MobileTradeRoom_EstablishingCommsText:
|
||||
text "Establishing"
|
||||
line "communications…"
|
||||
done
|
||||
|
||||
MobileTradeRoom_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
db 2 ; warp events
|
||||
warp_event 4, 7, 5, POKECENTER_2F
|
||||
warp_event 5, 7, 5, POKECENTER_2F
|
||||
|
||||
db 0 ; coord events
|
||||
|
||||
db 1 ; bg events
|
||||
bg_event 4, 2, BGEVENT_UP, MapMobileTradeRoomSignpost0Script
|
||||
|
||||
db 0 ; object events
|
||||
Reference in New Issue
Block a user