Karakara | Karetro
New member
Hey!
So in a project, I need a textbox to appear when the player enters a room, preferably using a custom tile type.
So I need it to appear if a variable is equal to zero, and when the textbox is over, it sets said variable to one, disabling the textbox.
I tried to modify the NPC tile type to no success.
Heres what I tried:
Help is appreciated!
(PS: I don't mind getting my hands dirty with ASM)
So in a project, I need a textbox to appear when the player enters a room, preferably using a custom tile type.
So I need it to appear if a variable is equal to zero, and when the textbox is over, it sets said variable to one, disabling the textbox.
I tried to modify the NPC tile type to no success.
Heres what I tried:
Code:
;;Show the goal
LDA GoalShown
CMP #$00
BEQ +
LDA textBoxFlag
BNE +
LDA #$00
STA stringTemp
LDA #$01
STA textBoxFlag
+:
(PS: I don't mind getting my hands dirty with ASM)