pokecrystal-board/maps/VermilionCity.asm

309 lines
6.3 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const VERMILIONCITY_TEACHER
const VERMILIONCITY_GRAMPS
const VERMILIONCITY_MACHOP
const VERMILIONCITY_SUPER_NERD
const VERMILIONCITY_BIG_SNORLAX
const VERMILIONCITY_POKEFAN_M
2015-06-25 21:01:08 -07:00
VermilionCity_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-25 22:30:16 -07:00
setflag ENGINE_FLYPOINT_VERMILION
return
2017-12-17 16:48:04 -08:00
VermilionCityTeacherScript:
jumptextfaceplayer VermilionCityTeacherText
2016-04-07 03:13:59 -07:00
VermilionMachopOwner:
jumptextfaceplayer VermilionMachopOwnerText
2015-06-25 21:01:08 -07:00
VermilionMachop:
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext VermilionMachopText1
cry MACHOP
2015-11-25 07:16:29 -08:00
waitbutton
closetext
earthquake 30
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext VermilionMachopText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
VermilionCitySuperNerdScript:
jumptextfaceplayer VermilionCitySuperNerdText
2015-06-25 21:01:08 -07:00
VermilionSnorlax:
2015-12-09 15:25:44 -08:00
opentext
special SpecialSnorlaxAwake
iftrue UnknownScript_0x1aa9ab
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aab64
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
UnknownScript_0x1aa9ab:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aab84
pause 15
cry SNORLAX
2015-11-25 07:16:29 -08:00
closetext
writecode VAR_BATTLETYPE, BATTLETYPE_FORCEITEM
loadwildmon SNORLAX, 50
startbattle
2015-11-26 21:22:14 -08:00
disappear VERMILIONCITY_BIG_SNORLAX
2013-09-24 00:48:58 -07:00
setevent EVENT_FOUGHT_SNORLAX
reloadmapafterbattle
end
2015-06-25 21:01:08 -07:00
VermilionGymBadgeGuy:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
checkevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
iftrue .AlreadyGotItem
checkcode VAR_BADGES
2015-06-25 21:01:08 -07:00
if_equal 16, .AllBadges
if_greater_than 13, .MostBadges
if_greater_than 9, .SomeBadges
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aabc8
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.SomeBadges:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aac2b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.MostBadges:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aac88
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.AllBadges:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aacf3
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem HP_UP
2015-06-25 21:01:08 -07:00
iffalse .Done
setevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
.AlreadyGotItem:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1aad4a
2015-11-25 07:16:29 -08:00
waitbutton
.Done:
2015-11-25 07:16:29 -08:00
closetext
end
2015-06-25 21:01:08 -07:00
VermilionCitySign:
jumptext VermilionCitySignText
2015-06-25 21:01:08 -07:00
VermilionGymSign:
jumptext VermilionGymSignText
2015-06-25 21:01:08 -07:00
PokemonFanClubSign:
jumptext PokemonFanClubSignText
2015-06-25 21:01:08 -07:00
VermilionCityDiglettsCaveSign:
jumptext VermilionCityDiglettsCaveSignText
2015-06-25 21:01:08 -07:00
VermilionCityPortSign:
jumptext VermilionCityPortSignText
VermilionCityPokecenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
VermilionCityMartSign:
2015-06-23 14:02:58 -07:00
jumpstd martsign
VermilionCityHiddenFullHeal:
dwb EVENT_VERMILION_CITY_HIDDEN_FULL_HEAL, FULL_HEAL
2017-12-17 16:48:04 -08:00
VermilionCityTeacherText:
text "VERMILION PORT is"
line "KANTO's seaside"
cont "gateway."
para "Luxury liners from"
line "around the world"
cont "dock here."
done
2016-04-07 03:13:59 -07:00
VermilionMachopOwnerText:
text "My #MON is"
line "preparing the land"
cont "for construction."
para "But I have no"
line "money to start the"
cont "project…"
done
2016-04-07 03:13:59 -07:00
VermilionMachopText1:
text "MACHOP: Guooh"
line "gogogoh!"
done
2016-04-07 03:13:59 -07:00
VermilionMachopText2:
text "A MACHOP is growl-"
line "ing while stomping"
cont "the ground flat."
done
2017-12-17 16:48:04 -08:00
VermilionCitySuperNerdText:
text "There are eight"
line "GYMS in KANTO."
para "That big building"
line "is VERMILION's"
cont "#MON GYM."
done
2015-06-25 21:01:08 -07:00
UnknownText_0x1aab64:
text "SNORLAX is snoring"
line "peacefully…"
done
2015-06-25 21:01:08 -07:00
UnknownText_0x1aab84:
text "The #GEAR was"
line "placed near the"
cont "sleeping SNORLAX…"
para "…"
para "SNORLAX woke up!"
done
2015-06-25 21:01:08 -07: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-25 21:01:08 -07: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-25 21:01:08 -07: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-25 21:01:08 -07: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-25 21:01:08 -07: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-25 21:01:08 -07:00
VermilionCitySignText:
text "VERMILION CITY"
para "The Port of"
line "Exquisite Sunsets"
done
2015-06-25 21:01:08 -07:00
VermilionGymSignText:
text "VERMILION CITY"
line "#MON GYM"
cont "LEADER: LT.SURGE"
para "The Lightning"
line "American"
done
2015-06-25 21:01:08 -07:00
PokemonFanClubSignText:
text "#MON FAN CLUB"
para "All #MON Fans"
line "Welcome!"
done
2015-06-25 21:01:08 -07:00
VermilionCityDiglettsCaveSignText:
text "DIGLETT'S CAVE"
done
2015-06-25 21:01:08 -07:00
VermilionCityPortSignText:
text "VERMILION PORT"
line "ENTRANCE"
done
2015-06-25 21:01:08 -07:00
VermilionCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 10
warp_def $5, $5, 1, VERMILION_HOUSE_FISHING_SPEECH_HOUSE
warp_def $5, $9, 1, VERMILION_POKECENTER_1F
warp_def $d, $7, 1, POKEMON_FAN_CLUB
warp_def $d, $d, 1, VERMILION_MAGNET_TRAIN_SPEECH_HOUSE
warp_def $d, $15, 2, VERMILION_MART
warp_def $11, $15, 1, VERMILION_HOUSE_DIGLETTS_CAVE_SPEECH_HOUSE
warp_def $13, $a, 1, VERMILION_GYM
warp_def $1f, $13, 1, VERMILION_PORT_PASSAGE
warp_def $1f, $14, 2, VERMILION_PORT_PASSAGE
warp_def $7, $22, 1, DIGLETTS_CAVE
.CoordEvents:
db 0
.BGEvents:
db 8
bg_event 3, 25, BGEVENT_READ, VermilionCitySign
bg_event 19, 5, BGEVENT_READ, VermilionGymSign
bg_event 13, 5, BGEVENT_READ, PokemonFanClubSign
bg_event 9, 33, BGEVENT_READ, VermilionCityDiglettsCaveSign
bg_event 15, 27, BGEVENT_READ, VermilionCityPortSign
bg_event 5, 10, BGEVENT_READ, VermilionCityPokecenterSign
bg_event 13, 22, BGEVENT_READ, VermilionCityMartSign
bg_event 19, 12, BGEVENT_ITEM, VermilionCityHiddenFullHeal
.ObjectEvents:
db 6
object_event SPRITE_TEACHER, 9, 18, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionCityTeacherScript, -1
object_event SPRITE_GRAMPS, 6, 23, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionMachopOwner, -1
object_event SPRITE_MACHOP, 7, 26, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, VermilionMachop, -1
object_event SPRITE_SUPER_NERD, 16, 14, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VermilionCitySuperNerdScript, -1
object_event SPRITE_BIG_SNORLAX, 8, 34, SPRITEMOVEDATA_SNORLAX, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionSnorlax, EVENT_VERMILION_CITY_SNORLAX
object_event SPRITE_POKEFAN_M, 12, 31, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VermilionGymBadgeGuy, -1