pokecrystal/maps/VermilionCity.asm

305 lines
6.0 KiB
NASM
Raw Normal View History

2015-06-26 04:01:08 +00:00
VermilionCity_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
dbw 5, UnknownScript_0x1aa97f
2015-06-26 04:01:08 +00:00
UnknownScript_0x1aa97f:
2013-09-24 07:51:42 +00:00
setflag $003a
return
2015-06-26 04:01:08 +00:00
TeacherScript_0x1aa983:
jumptextfaceplayer UnknownText_0x1aaa15
2015-06-26 04:01:08 +00:00
GrampsScript_0x1aa986:
jumptextfaceplayer UnknownText_0x1aaa6f
2015-06-26 04:01:08 +00:00
VermilionMachop:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aaaca
cry MACHOP
closetext
loadmovesprites
earthquake 30
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aaae2
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
SuperNerdScript_0x1aa99b:
jumptextfaceplayer UnknownText_0x1aab1a
2015-06-26 04:01:08 +00:00
VermilionSnorlax:
loadfont
special SpecialSnorlaxAwake
iftrue UnknownScript_0x1aa9ab
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aab64
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x1aa9ab:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aab84
pause 15
cry SNORLAX
loadmovesprites
writecode $3, BATTLETYPE_FORCEITEM
loadpokedata SNORLAX, 50
startbattle
disappear $6
2013-09-24 07:48:58 +00:00
setevent EVENT_FOUGHT_SNORLAX
returnafterbattle
end
2015-06-26 04:01:08 +00:00
VermilionGymBadgeGuy:
faceplayer
loadfont
2015-06-26 04:01:08 +00:00
checkevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
iftrue .AlreadyGotItem
checkcode $7
2015-06-26 04:01:08 +00:00
if_equal 16, .AllBadges
if_greater_than 13, .MostBadges
if_greater_than 9, .SomeBadges
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aabc8
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.SomeBadges
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aac2b
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.MostBadges
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aac88
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.AllBadges
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aacf3
keeptextopen
verbosegiveitem HP_UP, 1
2015-06-26 04:01:08 +00:00
iffalse .Done
setevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
.AlreadyGotItem
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1aad4a
closetext
2015-06-26 04:01:08 +00:00
.Done
loadmovesprites
end
2015-06-26 04:01:08 +00:00
VermilionCitySign:
jumptext VermilionCitySignText
2015-06-26 04:01:08 +00:00
VermilionGymSign:
jumptext VermilionGymSignText
2015-06-26 04:01:08 +00:00
PokemonFanClubSign:
jumptext PokemonFanClubSignText
2015-06-26 04:01:08 +00:00
VermilionCityDiglettsCaveSign:
jumptext VermilionCityDiglettsCaveSignText
2015-06-26 04:01:08 +00:00
VermilionCityPortSign:
jumptext VermilionCityPortSignText
2015-06-26 04:01:08 +00:00
VermilionCityPokeCenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
VermilionCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
MapVermilionCitySignpostItem7:
dw $00fc
db FULL_HEAL
2015-06-26 04:01:08 +00:00
UnknownText_0x1aaa15:
text "VERMILION PORT is"
line "KANTO's seaside"
cont "gateway."
para "Luxury liners from"
line "around the world"
cont "dock here."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aaa6f:
text "My #MON is"
line "preparing the land"
cont "for construction."
para "But I have no"
line "money to start the"
cont "project…"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aaaca:
text "MACHOP: Guooh"
line "gogogoh!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aaae2:
text "A MACHOP is growl-"
line "ing while stomping"
cont "the ground flat."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aab1a:
text "There are eight"
line "GYMS in KANTO."
para "That big building"
line "is VERMILION's"
cont "#MON GYM."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aab64:
text "SNORLAX is snoring"
line "peacefully…"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aab84:
text "The #GEAR was"
line "placed near the"
cont "sleeping SNORLAX…"
para "…"
para "SNORLAX woke up!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aabc8:
text "Skilled trainers"
line "gather in KANTO."
para "GYM LEADERS are"
line "especially strong."
para "They won't be easy"
line "to defeat."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aac2b:
text "You've started to"
line "collect KANTO GYM"
cont "BADGES?"
para "Don't you agree"
line "that the trainers"
cont "here are tough?"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aac88:
text "I guess you'll be"
line "finished with your"
para "conquest of KANTO"
line "GYMS soon."
para "Let me know if"
line "you get all eight"
cont "BADGES."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aacf3:
text "Congratulations!"
para "You got all the"
line "KANTO GYM BADGES."
para "I've got a reward"
line "for your efforts."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1aad4a:
text "Having a variety"
line "of #MON types"
para "should give you an"
line "edge in battle."
para "I'm sure the KANTO"
line "GYM BADGES will"
cont "help you."
done
2015-06-26 04:01:08 +00:00
VermilionCitySignText:
text "VERMILION CITY"
para "The Port of"
line "Exquisite Sunsets"
done
2015-06-26 04:01:08 +00:00
VermilionGymSignText:
text "VERMILION CITY"
line "#MON GYM"
cont "LEADER: LT.SURGE"
para "The Lightning"
line "American"
done
2015-06-26 04:01:08 +00:00
PokemonFanClubSignText:
text "#MON FAN CLUB"
para "All #MON Fans"
line "Welcome!"
done
2015-06-26 04:01:08 +00:00
VermilionCityDiglettsCaveSignText:
text "DIGLETT'S CAVE"
done
2015-06-26 04:01:08 +00:00
VermilionCityPortSignText:
text "VERMILION PORT"
line "ENTRANCE"
done
2015-06-26 04:01:08 +00:00
VermilionCity_MapEventHeader:
; filler
db 0, 0
; warps
db 10
warp_def $5, $5, 1, GROUP_VERMILION_HOUSE_FISHING_SPEECH_HOUSE, MAP_VERMILION_HOUSE_FISHING_SPEECH_HOUSE
warp_def $5, $9, 1, GROUP_VERMILION_POKECENTER_1F, MAP_VERMILION_POKECENTER_1F
warp_def $d, $7, 1, GROUP_POKEMON_FAN_CLUB, MAP_POKEMON_FAN_CLUB
warp_def $d, $d, 1, GROUP_VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, MAP_VERMILION_MAGNET_TRAIN_SPEECH_HOUSE
warp_def $d, $15, 2, GROUP_VERMILION_MART, MAP_VERMILION_MART
warp_def $11, $15, 1, GROUP_VERMILION_HOUSE_DIGLETTS_CAVE_SPEECH_HOUSE, MAP_VERMILION_HOUSE_DIGLETTS_CAVE_SPEECH_HOUSE
warp_def $13, $a, 1, GROUP_VERMILION_GYM, MAP_VERMILION_GYM
warp_def $1f, $13, 1, GROUP_VERMILION_PORT_PASSAGE, MAP_VERMILION_PORT_PASSAGE
warp_def $1f, $14, 2, GROUP_VERMILION_PORT_PASSAGE, MAP_VERMILION_PORT_PASSAGE
warp_def $7, $22, 1, GROUP_DIGLETTS_CAVE, MAP_DIGLETTS_CAVE
; xy triggers
db 0
; signposts
db 8
2015-06-26 04:01:08 +00:00
signpost 3, 25, $0, VermilionCitySign
signpost 19, 5, $0, VermilionGymSign
signpost 13, 5, $0, PokemonFanClubSign
signpost 9, 33, $0, VermilionCityDiglettsCaveSign
signpost 15, 27, $0, VermilionCityPortSign
signpost 5, 10, $0, VermilionCityPokeCenterSign
signpost 13, 22, $0, VermilionCityMartSign
signpost 19, 12, $7, MapVermilionCitySignpostItem7
; people-events
db 6
2013-07-12 21:06:11 +00:00
person_event SPRITE_TEACHER, 13, 22, $2, $11, 255, 255, $0, 0, TeacherScript_0x1aa983, $ffff
person_event SPRITE_GRAMPS, 10, 27, $9, $0, 255, 255, $0, 0, GrampsScript_0x1aa986, $ffff
2015-06-26 04:01:08 +00:00
person_event SPRITE_MACHOP, 11, 30, $16, $0, 255, 255, $90, 0, VermilionMachop, $ffff
2013-07-12 21:06:11 +00:00
person_event SPRITE_SUPER_NERD, 20, 18, $2, $11, 255, 255, $a0, 0, SuperNerdScript_0x1aa99b, $ffff
2015-06-26 04:01:08 +00:00
person_event SPRITE_BIG_SNORLAX, 12, 38, $15, $0, 255, 255, $0, 0, VermilionSnorlax, $0770
person_event SPRITE_POKEFAN_M, 16, 35, $6, $0, 255, 255, $80, 0, VermilionGymBadgeGuy, $ffff