mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
70 lines
1.1 KiB
NASM
70 lines
1.1 KiB
NASM
Route2NuggetSpeechHouse_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
FisherScript_0x9b847:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_GOT_NUGGET_FROM_GUY
|
|
iftrue .GotItem
|
|
writetext UnknownText_0x9b865
|
|
keeptextopen
|
|
verbosegiveitem NUGGET, 1
|
|
iffalse .Done
|
|
setevent EVENT_GOT_NUGGET_FROM_GUY
|
|
.GotItem
|
|
writetext UnknownText_0x9b8e5
|
|
closetext
|
|
.Done
|
|
loadmovesprites
|
|
end
|
|
|
|
Route2NuggetSpeechHouseBookshelf:
|
|
; unused
|
|
jumpstd difficultbookshelf
|
|
|
|
UnknownText_0x9b865:
|
|
text "Hi! Wow, I'm glad"
|
|
line "to see you."
|
|
|
|
para "You're the first"
|
|
line "visitor I've had"
|
|
cont "in a long time."
|
|
|
|
para "I'm super-happy!"
|
|
line "Let me give you a"
|
|
cont "little present."
|
|
done
|
|
|
|
UnknownText_0x9b8e5:
|
|
text "That's a NUGGET."
|
|
|
|
para "I can't give you"
|
|
line "any nuggets of"
|
|
|
|
para "wisdom, so that'll"
|
|
line "have to do!"
|
|
done
|
|
|
|
Route2NuggetSpeechHouse_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 1, ROUTE_2
|
|
warp_def $7, $3, 1, ROUTE_2
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 1
|
|
person_event SPRITE_FISHER, 8, 6, OW_UP | $0, $20, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, FisherScript_0x9b847, -1
|