shithub: pokered

ref: 362bba7642431d87371cb86c9442e7636fcd287b
dir: /scripts/LavenderMart.asm/

View raw version
LavenderMart_Script:
	jp EnableAutoTextBoxDrawing

LavenderMart_TextPointers:
	dw LavenderCashierText
	dw LavenderMartText2
	dw LavenderMartText3

LavenderMartText2:
	TX_FAR _LavenderMartText2
	db "@"

LavenderMartText3:
	TX_ASM
	CheckEvent EVENT_RESCUED_MR_FUJI
	jr nz, .Nugget
	ld hl, .ReviveText
	call PrintText
	jr .done
.Nugget
	ld hl, .NuggetText
	call PrintText
.done
	jp TextScriptEnd

.ReviveText
	TX_FAR _LavenderMartReviveText
	db "@"

.NuggetText
	TX_FAR _LavenderMartNuggetText
	db "@"