pokecrystal-board/maps/GoldenrodHappinessRater.asm

155 lines
3.4 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
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRaterTeacherScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
special GetFirstPokemonHappiness
2018-03-01 10:18:51 -08:00
writetext GoldenrodHappinessRaterTeacherText
2015-11-29 19:29:45 -08:00
buttonsound
2018-03-01 10:18:51 -08:00
ifgreater 250 - 1, .LovesYouALot
ifgreater 200 - 1, .ReallyTrustsYou
ifgreater 150 - 1, .SortOfHappy
ifgreater 100 - 1, .QuiteCute
ifgreater 50 - 1, .NotUsedToYou
jump .LooksMean
.LovesYouALot:
writetext GoldenrodHappinessRatingText_LovesYouALot
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.ReallyTrustsYou:
writetext GoldenrodHappinessRatingText_ReallyTrustsYou
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.SortOfHappy:
writetext GoldenrodHappinessRatingText_SortOfHappy
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.QuiteCute:
writetext GoldenrodHappinessRatingText_QuiteCute
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.NotUsedToYou:
writetext GoldenrodHappinessRatingText_NotUsedToYou
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.LooksMean:
writetext GoldenrodHappinessRatingText_LooksMean
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
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRaterTeacherText:
text "If you treat your"
line "#MON nicely,"
para "they will love you"
line "in return."
para "Oh? Let me see"
line "your @"
text_ram wStringBuffer3
text "…"
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_LovesYouALot:
text "It looks really"
line "happy! It must"
cont "love you a lot."
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_ReallyTrustsYou:
text "I get the feeling"
line "that it really"
cont "trusts you."
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_SortOfHappy:
text "It's friendly to-"
line "ward you. It looks"
cont "sort of happy."
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_QuiteCute:
text "It's quite cute."
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_NotUsedToYou:
text "You should treat"
line "it better. It's"
cont "not used to you."
done
2018-03-01 10:18:51 -08:00
GoldenrodHappinessRatingText_LooksMean:
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 19:22:07 -08:00
warp_event 2, 7, GOLDENROD_CITY, 3
warp_event 3, 7, GOLDENROD_CITY, 3
db 0 ; coord events
db 3 ; bg events
2018-02-01 19:22:07 -08:00
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
2018-03-01 10:18:51 -08:00
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterTeacherScript, -1
2018-02-01 19:22:07 -08:00
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