pokecrystal-board/maps/GoldenrodHappinessRater.asm

155 lines
3.2 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 GOLDENRODHAPPINESSRATER_TEACHER
const GOLDENRODHAPPINESSRATER_POKEFAN_M
const GOLDENRODHAPPINESSRATER_TWIN
GoldenrodHappinessRater_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-07-10 01:45:35 -07:00
TeacherScript_0x54953:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
special GetFirstPokemonHappiness
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x549a3
2015-11-29 19:29:45 -08:00
buttonsound
2018-01-11 22:40:20 -08:00
if_greater_than 250 - 1, UnknownScript_0x54973
if_greater_than 200 - 1, UnknownScript_0x54979
if_greater_than 150 - 1, UnknownScript_0x5497f
if_greater_than 100 - 1, UnknownScript_0x54985
if_greater_than 50 - 1, UnknownScript_0x5498b
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x54991
2015-07-10 01:45:35 -07:00
UnknownScript_0x54973:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x549fc
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x54979:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54a2c
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x5497f:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54a5a
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x54985:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54a8e
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x5498b:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54a9f
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x54991:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54ad1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
GoldenrodHappinessRaterPokefanMScript:
jumptextfaceplayer GoldenrodHappinessRaterPokefanMText
2017-12-17 16:48:04 -08:00
GoldenrodHappinessRaterTwinScript:
jumptextfaceplayer GoldenrodHappinessRaterTwinText
2015-06-25 21:01:08 -07:00
HappinessRatersHouseBookshelf:
jumpstd difficultbookshelf
2015-06-25 21:01:08 -07:00
HappinessRatersHouseRadio:
2015-06-23 14:02:58 -07:00
jumpstd radio2
2015-07-10 01:45:35 -07:00
UnknownText_0x549a3:
text "If you treat your"
line "#MON nicely,"
para "they will love you"
line "in return."
para "Oh? Let me see"
line "your @"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text "…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x549fc:
text "It looks really"
line "happy! It must"
cont "love you a lot."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54a2c:
text "I get the feeling"
line "that it really"
cont "trusts you."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54a5a:
text "It's friendly to-"
line "ward you. It looks"
cont "sort of happy."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54a8e:
text "It's quite cute."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54a9f:
text "You should treat"
line "it better. It's"
cont "not used to you."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54ad1:
text "It doesn't seem to"
line "like you at all."
cont "It looks mean."
done
2017-12-17 16:48:04 -08:00
GoldenrodHappinessRaterPokefanMText:
text "I keep losing in"
line "battles, and my"
para "#MON end up"
line "fainting…"
para "Maybe that's why"
line "my #MON don't"
cont "like me much…"
done
2017-12-17 16:48:04 -08:00
GoldenrodHappinessRaterTwinText:
text "When I use an item"
line "on my #MON, it"
cont "acts really glad!"
done
GoldenrodHappinessRater_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 18:54:00 -08:00
warp_event 2, 7, GOLDENROD_CITY, 3
warp_event 3, 7, GOLDENROD_CITY, 3
db 0 ; coord events
db 3 ; bg events
bg_event 0, 1, BGEVENT_READ, HappinessRatersHouseBookshelf
bg_event 1, 1, BGEVENT_READ, HappinessRatersHouseBookshelf
bg_event 7, 1, BGEVENT_READ, HappinessRatersHouseRadio
db 3 ; object events
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x54953, -1
object_event 5, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterPokefanMScript, -1
object_event 5, 6, SPRITE_TWIN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterTwinScript, -1