Add ShowMessageOnContact to sprite_macros

This commit is contained in:
scawful
2024-06-21 10:00:40 -04:00
parent fb40e55d65
commit f5b6e5e70c

View File

@@ -75,6 +75,12 @@ macro ShowSolicitedMessage(message_id)
JSL Sprite_ShowSolicitedMessageIfPlayerFacing
endmacro
macro ShowMessageOnContact(message_id)
LDY.b #(<message_id>)>>8
LDA.b #<message_id>
JSL $05E1F0 ; Sprite_ShowMessageOnContact
endmacro
; Show message no matter what (should not be used without code condition)
macro ShowUnconditionalMessage(message_id)
LDY.b #(<message_id>)>>8