Add ProbCheck2 macro

This commit is contained in:
scawful
2025-01-19 13:49:52 -05:00
parent 4ae52f3584
commit 6aaafb87ce

View File

@@ -305,6 +305,12 @@ macro ProbCheck(mask, label)
BNE <label> BNE <label>
endmacro endmacro
macro ProbCheck2(mask, label)
JSL GetRandomInt
AND.b #<mask>
BEQ <label>
endmacro
macro DrawSprite() macro DrawSprite()
{ {
JSL Sprite_PrepOamCoord JSL Sprite_PrepOamCoord