pokecrystal-board/maps/PewterNidoranSpeechHouse.asm
2018-01-31 11:08:47 -05:00

43 lines
1022 B
NASM

const_value set 2 ; object constants
const PEWTERNIDORANSPEECHHOUSE_SUPER_NERD
const PEWTERNIDORANSPEECHHOUSE_NIDORAN_M
PewterNidoranSpeechHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PewterNidoranSpeechHouseSuperNerdScript:
jumptextfaceplayer PewterNidoranSpeechHouseSuperNerdText
PewterNidoran:
opentext
writetext PewterNidoranText
cry NIDORAN_M
waitbutton
closetext
end
PewterNidoranSpeechHouseSuperNerdText:
text "NIDORAN, shake!"
done
PewterNidoranText:
text "NIDORAN: Gau gau!"
done
PewterNidoranSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 2, 7, 1, PEWTER_CITY
warp_event 3, 7, 1, PEWTER_CITY
db 0 ; coord events
db 0 ; bg events
db 2 ; object events
object_event 3, 5, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PewterNidoranSpeechHouseSuperNerdScript, -1
object_event 4, 5, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PewterNidoran, -1