pokecrystal/maps/Route2NuggetHouse.asm

66 lines
1.2 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2018-01-23 17:54:17 +00:00
const ROUTE2NUGGETHOUSE_FISHER
2015-11-27 05:22:14 +00:00
2018-01-23 17:54:17 +00:00
Route2NuggetHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-07-10 08:45:35 +00:00
FisherScript_0x9b847:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkevent EVENT_GOT_NUGGET_FROM_GUY
iftrue .GotItem
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9b865
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem NUGGET
2015-07-10 12:08:03 +00:00
iffalse .Done
setevent EVENT_GOT_NUGGET_FROM_GUY
.GotItem:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9b8e5
2015-11-25 15:16:29 +00:00
waitbutton
.Done:
2015-11-25 15:16:29 +00:00
closetext
end
2018-01-23 17:54:17 +00:00
Route2NuggetHouseBookshelf:
2015-06-26 04:01:08 +00:00
; unused
jumpstd difficultbookshelf
2015-07-10 08:45:35 +00:00
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
2015-07-10 08:45:35 +00:00
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
2018-01-23 17:54:17 +00:00
Route2NuggetHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, ROUTE_2, 1
warp_event 3, 7, ROUTE_2, 1
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-02 03:22:07 +00:00
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FisherScript_0x9b847, -1