shithub: pokecrystal

ref: 08891da82254aa4051bf594d4abc2db8e4043d8f
dir: /maps/FightingDojo.asm/

View raw version
	const_def 2 ; object constants
	const FIGHTINGDOJO_BLACK_BELT
	const FIGHTINGDOJO_POKE_BALL

FightingDojo_MapScripts:
	db 0 ; scene scripts

	db 0 ; callbacks

FightingDojoBlackBelt:
	jumptextfaceplayer FightingDojoBlackBeltText

MapFightingDojoSignpost0Script:
	jumptext FightingDojoSign0Text

MapFightingDojoSignpost1Script:
	jumptext FightingDojoSign1Text

FightingDojoFocusBand:
	itemball FOCUS_BAND

FightingDojoBlackBeltText:
	text "Hello!"

	para "KARATE KING, the"
	line "FIGHTING DOJO's"

	para "master, is in a"
	line "cave in JOHTO for"
	cont "training."
	done

FightingDojoSign0Text:
	text "What goes around"
	line "comes around!"
	done

FightingDojoSign1Text:
	text "Enemies on every"
	line "side!"
	done

FightingDojo_MapEvents:
	db 0, 0 ; filler

	db 2 ; warp events
	warp_event 4, 11, 1, SAFFRON_CITY
	warp_event 5, 11, 1, SAFFRON_CITY

	db 0 ; coord events

	db 2 ; bg events
	bg_event 4, 0, BGEVENT_READ, MapFightingDojoSignpost0Script
	bg_event 5, 0, BGEVENT_READ, MapFightingDojoSignpost1Script

	db 2 ; object events
	object_event 4, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FightingDojoBlackBelt, -1
	object_event 3, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, FightingDojoFocusBand, EVENT_PICKED_UP_FOCUS_BAND