shithub: pokered

ref: bfaabd08be0a790dff961276d76af3e1af4e6e24
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