pokecrystal-board/maps/LakeOfRageMagikarpHouse.asm

223 lines
4.3 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const LAKEOFRAGEMAGIKARPHOUSE_FISHING_GURU
LakeOfRageMagikarpHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
2018-03-01 10:18:51 -08:00
iftrue .GetReward
checkevent EVENT_LAKE_OF_RAGE_ASKED_FOR_MAGIKARP
2018-03-01 10:18:51 -08:00
iftrue .AskedForMagikarp
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
2018-03-01 10:18:51 -08:00
iftrue .ClearedRocketHideout
checkevent EVENT_LAKE_OF_RAGE_EXPLAINED_WEIRD_MAGIKARP
2018-03-01 10:18:51 -08:00
iftrue .ExplainedHistory
writetext MagikarpLengthRaterText_LakeOfRageHistory
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_LAKE_OF_RAGE_EXPLAINED_WEIRD_MAGIKARP
end
2018-03-01 10:18:51 -08:00
.ExplainedHistory:
writetext MagikarpLengthRaterText_MenInBlack
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.ClearedRocketHideout:
writetext MagikarpLengthRaterText_WorldsLargestMagikarp
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_LAKE_OF_RAGE_ASKED_FOR_MAGIKARP
end
2018-03-01 10:18:51 -08:00
.AskedForMagikarp:
writebyte MAGIKARP
special FindPartyMonThatSpecies
2018-03-01 10:18:51 -08:00
iffalse .ClearedRocketHideout
writetext MagikarpLengthRaterText_YouHaveAMagikarp
2015-11-25 07:16:29 -08:00
waitbutton
special CheckMagikarpLength
2018-03-01 10:18:51 -08:00
ifequal MAGIKARPLENGTH_NOT_MAGIKARP, .NotMagikarp
ifequal MAGIKARPLENGTH_REFUSED, .Refused
ifequal MAGIKARPLENGTH_TOO_SHORT, .TooShort
2018-01-11 22:40:20 -08:00
; MAGIKARPLENGTH_BEAT_RECORD
2018-03-01 10:18:51 -08:00
jump .GetReward
2018-03-01 10:18:51 -08:00
.GetReward:
writetext MagikarpLengthRaterText_Memento
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem ELIXER
2018-03-01 10:18:51 -08:00
iffalse .NoRoom
writetext MagikarpLengthRaterText_Bonus
2015-11-25 07:16:29 -08:00
waitbutton
closetext
clearevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
end
2018-03-01 10:18:51 -08:00
.NoRoom:
2015-11-25 07:16:29 -08:00
closetext
setevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
end
2018-03-01 10:18:51 -08:00
.TooShort:
writetext MagikarpLengthRaterText_TooShort
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.NotMagikarp:
writetext MagikarpLengthRaterText_NotMagikarp
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.Refused:
writetext MagikarpLengthRaterText_Refused
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
LakeOfRageMagikarpHouseUnusedRecordSign:
; unused
jumptext LakeOfRageMagikarpHouseUnusedRecordText
2015-06-25 21:01:08 -07:00
MagikarpHouseBookshelf:
jumpstd difficultbookshelf
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_LakeOfRageHistory:
text "LAKE OF RAGE is"
line "actually a crater"
para "made by rampaging"
line "GYARADOS."
para "The crater filled"
line "up with rainwater"
para "and the LAKE was"
line "formed."
para "That's the story"
line "passed on from my"
para "Grandpa's great-"
line "great-grandpa."
para "It used to be that"
line "you could catch"
para "lively MAGIKARP"
line "there, but…"
para "I don't understand"
line "what's happening."
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_MenInBlack:
text "The LAKE hasn't"
line "been normal since"
para "those men wearing"
line "black arrived."
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_WorldsLargestMagikarp:
text "LAKE OF RAGE is"
line "back to normal."
para "The MAGIKARP have"
line "returned."
para "I may yet realize"
line "my dream of see-"
cont "ing the world's"
cont "largest MAGIKARP."
para "Do you have a ROD?"
line "Please help me if"
cont "you do."
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_YouHaveAMagikarp:
text "Ah, you have a"
line "MAGIKARP! Let's"
para "see how big that"
line "baby is."
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_Memento:
text "Wow! This one is"
line "outstanding!"
para "I tip my hat to"
line "you!"
para "Take this as a"
line "memento!"
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_Bonus:
text "The record is the"
line "important thing."
para "Think of that as"
line "a bonus!"
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_TooShort:
text "Wow! This one is"
line "outstanding!"
para "…I wish I could"
line "say that, but I've"
para "seen a bigger one"
line "before."
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_NotMagikarp:
text "What? That's not a"
line "MAGIKARP!"
done
2018-03-01 10:18:51 -08:00
MagikarpLengthRaterText_Refused:
text "Oh… So you didn't"
line "get one good"
para "enough to show me?"
line "Maybe next time."
done
2018-03-01 10:18:51 -08:00
LakeOfRageMagikarpHouseUnusedRecordText:
text "CURRENT RECORD"
para "@"
2018-01-23 14:39:09 -08:00
text_from_ram wStringBuffer3
text " caught by"
line "@"
2018-01-23 14:39:09 -08:00
text_from_ram wStringBuffer4
db "@@"
LakeOfRageMagikarpHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, LAKE_OF_RAGE, 2
warp_event 3, 7, LAKE_OF_RAGE, 2
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 0, 1, BGEVENT_READ, MagikarpHouseBookshelf
bg_event 1, 1, BGEVENT_READ, MagikarpHouseBookshelf
db 1 ; object events
2018-03-01 10:18:51 -08:00
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MagikarpLengthRaterScript, -1