1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
const_def 2 ; object constants
const ROUTE2NUGGETHOUSE_FISHER
Route2NuggetHouse_MapScripts:
db 0 ; scene scripts
db 0 ; 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:
; unused
jumpstd difficultbookshelf
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
db 2 ; warp events
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
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route2NuggetHouseFisherScript, -1
|