You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Split map scripts, text, events from main.asm
The commit we deserve
This commit is contained in:
52
maps/VioletOnixTradeHouse.asm
Normal file
52
maps/VioletOnixTradeHouse.asm
Normal file
@@ -0,0 +1,52 @@
|
||||
VioletOnixTradeHouse_MapScriptHeader: ; 0x6998b
|
||||
; trigger count
|
||||
db 0
|
||||
|
||||
; callback count
|
||||
db 0
|
||||
; 0x6998d
|
||||
|
||||
UnknownScript_0x6998d: ; 0x6998d
|
||||
jumptextfaceplayer UnknownText_0x69997
|
||||
; 0x69990
|
||||
|
||||
UnknownScript_0x69990: ; 0x69990
|
||||
faceplayer
|
||||
loadfont
|
||||
trade $1
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x69997
|
||||
|
||||
UnknownText_0x69997: ; 0x69997
|
||||
db $0, "A #MON you get", $4f
|
||||
db "in a trade grows", $55
|
||||
db "quickly.", $51
|
||||
db "But if you don't", $4f
|
||||
db "have the right GYM", $51
|
||||
db "BADGE, they may", $4f
|
||||
db "disobey you.", $57
|
||||
; 0x69a01
|
||||
|
||||
VioletOnixTradeHouse_MapEventHeader: ; 0x69a01
|
||||
; filler
|
||||
db 0, 0
|
||||
|
||||
; warps
|
||||
db 2
|
||||
warp_def $7, $3, 6, GROUP_VIOLET_CITY, MAP_VIOLET_CITY
|
||||
warp_def $7, $4, 6, GROUP_VIOLET_CITY, MAP_VIOLET_CITY
|
||||
|
||||
; xy triggers
|
||||
db 0
|
||||
|
||||
; signposts
|
||||
db 0
|
||||
|
||||
; people-events
|
||||
db 2
|
||||
person_event $2d, 7, 6, $3, $0, 255, 255, $0, 0, UnknownScript_0x6998d, $ffff
|
||||
person_event $27, 9, 10, $4, $20, 255, 255, $80, 0, UnknownScript_0x69990, $ffff
|
||||
; 0x69a2b
|
||||
|
||||
Reference in New Issue
Block a user