shithub: pokered

ref: a1ca8aa239837496f98e54c7c246fd9fb9c8a5e3
dir: /scripts/ceruleancity2.asm/

View raw version
CeruleanHideRocket:
; code similar to this appears in a lot of banks; this particular
; one is called after you beat the Rocket that gives you TM28 DIG.
; the screen then fades out, he disappears, and fades back in
	call GBFadeOutToBlack
	ld a, HS_CERULEAN_GUARD_1
	ld [wMissableObjectIndex], a
	predef ShowObject
	ld a, HS_CERULEAN_GUARD_2
	ld [wMissableObjectIndex], a
	predef HideObject
	ld a, HS_CERULEAN_ROCKET
	ld [wMissableObjectIndex], a
	predef HideObject
	call GBFadeInFromBlack
	ret