mirror of https://github.com/pret/pokecrystal.git
65 lines
1.2 KiB
NASM
65 lines
1.2 KiB
NASM
object_const_def
|
|
const ROUTE2NUGGETHOUSE_FISHER
|
|
|
|
Route2NuggetHouse_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_callbacks
|
|
|
|
Route2NuggetHouseFisherScript:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_NUGGET_FROM_GUY
|
|
iftrue .GotNugget
|
|
writetext Route2NuggetHouseFisherText
|
|
promptbutton
|
|
verbosegiveitem NUGGET
|
|
iffalse .NoRoom
|
|
setevent EVENT_GOT_NUGGET_FROM_GUY
|
|
.GotNugget:
|
|
writetext Route2NuggetHouseFisherText_GotNugget
|
|
waitbutton
|
|
.NoRoom:
|
|
closetext
|
|
end
|
|
|
|
Route2NuggetHouseBookshelf: ; unreferenced
|
|
jumpstd DifficultBookshelfScript
|
|
|
|
Route2NuggetHouseFisherText:
|
|
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
|
|
|
|
Route2NuggetHouseFisherText_GotNugget:
|
|
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
|
|
|
|
Route2NuggetHouse_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
def_warp_events
|
|
warp_event 2, 7, ROUTE_2, 1
|
|
warp_event 3, 7, ROUTE_2, 1
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
|
|
def_object_events
|
|
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route2NuggetHouseFisherScript, -1
|