pokecrystal/maps/Route29.asm

441 lines
8.2 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
Route29_MapScriptHeader:
.MapTriggers:
db 2
; triggers
dw UnknownScript_0x1a0f59, $0000
dw UnknownScript_0x1a0f5a, $0000
.MapCallbacks:
db 1
; callbacks
2014-10-27 01:37:15 +00:00
dbw 2, TuscanyCallback
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0f59:
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0f5a:
end
2014-10-27 01:37:15 +00:00
TuscanyCallback:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_ZEPHYRBADGE
2014-10-27 01:37:15 +00:00
iftrue .DoesTuscanyAppear
.TuscanyDisappears
disappear $8
return
2014-10-27 01:37:15 +00:00
.DoesTuscanyAppear
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_not_equal TUESDAY, .TuscanyDisappears
appear $8
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0f6d:
spriteface $2, UP
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1a108d
spriteface PLAYER, LEFT
2013-09-24 07:48:58 +00:00
setevent EVENT_DUDE_TALKED_TO_YOU
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a10df
yesorno
iffalse UnknownScript_0x1a0fd9
loadmovesprites
follow $2, PLAYER
applymovement $2, MovementData_0x1a109a
stopfollow
loadpokedata RATTATA, 5
catchtutorial BATTLETYPE_TUTORIAL
spriteface $2, UP
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a114d
closetext
loadmovesprites
dotrigger $0
2013-09-24 07:48:58 +00:00
setevent EVENT_LEARNED_TO_CATCH_POKEMON
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0fa3:
spriteface $2, UP
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1a1094
spriteface PLAYER, LEFT
2013-09-24 07:48:58 +00:00
setevent EVENT_DUDE_TALKED_TO_YOU
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a10df
yesorno
iffalse UnknownScript_0x1a0fe5
loadmovesprites
follow $2, PLAYER
applymovement $2, MovementData_0x1a10a1
stopfollow
loadpokedata RATTATA, 5
catchtutorial BATTLETYPE_TUTORIAL
spriteface $2, UP
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a114d
closetext
loadmovesprites
dotrigger $0
2013-09-24 07:48:58 +00:00
setevent EVENT_LEARNED_TO_CATCH_POKEMON
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0fd9:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a1197
closetext
loadmovesprites
applymovement $2, MovementData_0x1a109a
dotrigger $0
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a0fe5:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a1197
closetext
loadmovesprites
applymovement $2, MovementData_0x1a10a1
dotrigger $0
end
2015-07-10 08:45:35 +00:00
CooltrainerMScript_0x1a0ff1:
faceplayer
loadfont
checkcode VAR_BOXSPACE
if_equal $0, UnknownScript_0x1a101c
2013-09-24 07:48:58 +00:00
checkevent EVENT_LEARNED_TO_CATCH_POKEMON
iftrue UnknownScript_0x1a101c
2013-09-24 07:48:58 +00:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse UnknownScript_0x1a101c
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a11e3
yesorno
iffalse UnknownScript_0x1a1022
loadmovesprites
loadpokedata RATTATA, 5
catchtutorial BATTLETYPE_TUTORIAL
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a114d
closetext
loadmovesprites
2013-09-24 07:48:58 +00:00
setevent EVENT_LEARNED_TO_CATCH_POKEMON
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a101c:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a10a7
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a1022:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a1197
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
YoungsterScript_0x1a1028:
jumptextfaceplayer UnknownText_0x1a1214
2015-07-10 08:45:35 +00:00
TeacherScript_0x1a102b:
jumptextfaceplayer UnknownText_0x1a126c
2015-07-10 08:45:35 +00:00
FisherScript_0x1a102e:
jumptextfaceplayer UnknownText_0x1a12d9
2015-07-10 08:45:35 +00:00
CooltrainerMScript_0x1a1031:
faceplayer
loadfont
checkday
iftrue UnknownScript_0x1a103d
checknite
iftrue UnknownScript_0x1a1043
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a103d:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a134c
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1a1043:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a137c
closetext
loadmovesprites
end
2014-10-27 01:37:15 +00:00
TuscanyScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_PINK_BOW_FROM_TUSCANY
2014-10-27 01:37:15 +00:00
iftrue TuscanyTuesdayScript
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_not_equal TUESDAY, TuscanyNotTuesdayScript
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_TUSCANY_OF_TUESDAY
2014-10-27 01:37:15 +00:00
iftrue .MetTuscany
2015-01-20 08:01:23 +00:00
writetext MeetTuscanyText
keeptextopen
2013-09-24 07:48:58 +00:00
setevent EVENT_MET_TUSCANY_OF_TUESDAY
2014-10-27 01:37:15 +00:00
.MetTuscany
2015-01-20 08:01:23 +00:00
writetext TuscanyGivesGiftText
keeptextopen
verbosegiveitem PINK_BOW, 1
2014-10-27 01:37:15 +00:00
iffalse TuscanyDoneScript
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_PINK_BOW_FROM_TUSCANY
2015-01-20 08:01:23 +00:00
writetext TuscanyGaveGiftText
closetext
loadmovesprites
end
2014-10-27 01:37:15 +00:00
TuscanyTuesdayScript:
2015-01-20 08:01:23 +00:00
writetext TuscanyTuesdayText
closetext
2014-10-27 01:37:15 +00:00
TuscanyDoneScript:
loadmovesprites
end
2014-10-27 01:37:15 +00:00
TuscanyNotTuesdayScript:
2015-01-20 08:01:23 +00:00
writetext TuscanyNotTuesdayText
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
MapRoute29Signpost0Script:
jumptext UnknownText_0x1a158e
2015-07-10 08:45:35 +00:00
MapRoute29Signpost1Script:
jumptext UnknownText_0x1a15b9
2015-07-10 08:45:35 +00:00
FruitTreeScript_0x1a1089:
fruittree $1
2015-07-10 08:45:35 +00:00
ItemFragment_0x1a108b:
db POTION, 1
2015-07-10 08:45:35 +00:00
MovementData_0x1a108d:
step_up
step_up
step_up
step_up
step_right
step_right
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x1a1094:
step_up
step_up
step_up
step_right
step_right
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x1a109a:
step_left
step_left
step_down
step_down
step_down
step_down
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x1a10a1:
step_left
step_left
step_down
step_down
step_down
step_end
2015-07-10 08:45:35 +00:00
UnknownText_0x1a10a7:
text "#MON hide in"
line "the grass. Who"
para "knows when they'll"
line "pop out…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a10df:
text "I've seen you a"
line "couple times. How"
para "many #MON have"
line "you caught?"
para "Would you like me"
line "to show you how to"
cont "catch #MON?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a114d:
text "That's how you do"
line "it."
para "If you weaken them"
line "first, #MON are"
cont "easier to catch."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a1197:
text "Oh. Fine, then."
para "Anyway, if you"
line "want to catch"
para "#MON, you have"
line "to walk a lot."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a11e3:
text "Huh? You want me"
line "to show you how to"
cont "catch #MON?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a1214:
text "Yo. How are your"
line "#MON?"
para "If they're weak"
line "and not ready for"
para "battle, keep out"
line "of the grass."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a126c:
text "See those ledges?"
line "It's scary to jump"
cont "off them."
para "But you can go to"
line "NEW BARK without"
para "walking through"
line "the grass."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a12d9:
text "I wanted to take a"
line "break, so I saved"
para "to record my"
line "progress."
done
; possibly unused
2015-07-10 08:45:35 +00:00
UnknownText_0x1a1316:
text "I'm waiting for"
line "#MON that"
para "appear only in the"
line "daytime."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a134c:
text "I'm waiting for"
line "#MON that"
para "appear only at"
line "night."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a137c:
text "I'm waiting for"
line "#MON that"
para "appear only in the"
line "morning."
done
2014-10-27 01:37:15 +00:00
MeetTuscanyText:
text "TUSCANY: I do be-"
line "lieve that this is"
para "the first time"
line "we've met?"
para "Please allow me to"
line "introduce myself."
para "I am TUSCANY of"
line "Tuesday."
done
2014-10-27 01:37:15 +00:00
TuscanyGivesGiftText:
text "By way of intro-"
line "duction, please"
para "accept this gift,"
line "a PINK BOW."
done
2014-10-27 01:37:15 +00:00
TuscanyGaveGiftText:
text "TUSCANY: Wouldn't"
line "you agree that it"
cont "is most adorable?"
para "It strengthens"
line "normal-type moves."
para "I am certain it"
line "will be of use."
done
2014-10-27 01:37:15 +00:00
TuscanyTuesdayText:
text "TUSCANY: Have you"
line "met MONICA, my"
cont "older sister?"
para "Or my younger"
line "brother, WESLEY?"
para "I am the second of"
line "seven children."
done
2014-10-27 01:37:15 +00:00
TuscanyNotTuesdayText:
text "TUSCANY: Today is"
line "not Tuesday. That"
cont "is unfortunate…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a158e:
text "ROUTE 29"
para "CHERRYGROVE CITY -"
line "NEW BARK TOWN"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1a15b9:
text "ROUTE 29"
para "CHERRYGROVE CITY -"
line "NEW BARK TOWN"
done
2015-07-10 08:45:35 +00:00
Route29_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $1, $1b, 3, ROUTE_29_46_GATE
.XYTriggers:
db 2
xy_trigger 1, $8, $35, $0, UnknownScript_0x1a0f6d, $0, $0
xy_trigger 1, $9, $35, $0, UnknownScript_0x1a0fa3, $0, $0
.Signposts:
db 2
signpost 7, 51, SIGNPOST_READ, MapRoute29Signpost0Script
signpost 5, 3, SIGNPOST_READ, MapRoute29Signpost1Script
.PersonEvents:
db 8
person_event SPRITE_COOLTRAINER_M, 12 + 4, 50 + 4, $3, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, CooltrainerMScript_0x1a0ff1, -1
person_event SPRITE_YOUNGSTER, 16 + 4, 27 + 4, $4, 1, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, YoungsterScript_0x1a1028, -1
person_event SPRITE_TEACHER, 11 + 4, 15 + 4, $5, 0, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, TeacherScript_0x1a102b, -1
person_event SPRITE_FRUIT_TREE, 2 + 4, 12 + 4, $1, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a1089, -1
person_event SPRITE_FISHER, 3 + 4, 25 + 4, $7, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, FisherScript_0x1a102e, -1
person_event SPRITE_COOLTRAINER_M, 4 + 4, 13 + 4, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, CooltrainerMScript_0x1a1031, -1
person_event SPRITE_TEACHER, 12 + 4, 29 + 4, $3, 0, 0, -1, -1, 0, 0, 0, TuscanyScript, EVENT_ROUTE_29_TUSCANY_OF_TUESDAY
person_event SPRITE_POKE_BALL, 2 + 4, 48 + 4, $1, 0, 0, -1, -1, 0, 1, 0, ItemFragment_0x1a108b, EVENT_ROUTE_29_POTION