Add maple.asm

This commit is contained in:
scawful
2024-12-21 16:54:37 -05:00
parent a0d465b05e
commit 1dbaf028ca
3 changed files with 30 additions and 29 deletions

28
Sprites/NPCs/maple.asm Normal file
View File

@@ -0,0 +1,28 @@
MapleHandler:
{
LDA.w SprAction, X
JSL JumpTableLocal
dw Maple_Idle
dw Maple_HandleDreams
Maple_Idle:
{
%PlayAnimation(0,1,16)
JSL Sprite_PlayerCantPassThrough
%ShowSolicitedMessage($01B3) : BCC +
INC.w SprAction, X
+
RTS
}
Maple_HandleDreams:
{
LDA.l $7EF351 : BEQ +
LDA.b #$02 : STA.l $7EF351
LDA.b #$1B : STA.w $012F
STZ.w SprAction, X
+
RTS
}
}