mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
73 lines
1.2 KiB
NASM
73 lines
1.2 KiB
NASM
const_value set 2
|
|
const ROUTE2NUGGETSPEECHHOUSE_FISHER
|
|
|
|
Route2NuggetSpeechHouse_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
FisherScript_0x9b847:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_NUGGET_FROM_GUY
|
|
iftrue .GotItem
|
|
writetext UnknownText_0x9b865
|
|
buttonsound
|
|
verbosegiveitem NUGGET
|
|
iffalse .Done
|
|
setevent EVENT_GOT_NUGGET_FROM_GUY
|
|
.GotItem:
|
|
writetext UnknownText_0x9b8e5
|
|
waitbutton
|
|
.Done:
|
|
closetext
|
|
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
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 0
|
|
|
|
.ObjectEvents:
|
|
db 1
|
|
object_event SPRITE_FISHER, 4, 2, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FisherScript_0x9b847, -1
|