fix synthesis and leaf guard w utility umbrella

This commit is contained in:
ghoulslash committed 2021-10-30 11:04:50 -04:00
1 parent a461823cbf
commit 468ee66cd8
4 files changed
+18 -12

No files matched your search

+3 -4
View File
@@ -1989,10 +1989,9 @@
goto \jumpptr
.endm
.macro jumpifleafguard jumpptr:req
jumpifhalfword CMP_NO_COMMON_BITS, gBattleWeather, WEATHER_SUN_ANY, 1f
jumpifability BS_TARGET, ABILITY_LEAF_GUARD, \jumpptr
1:
.macro jumpifleafguardprotected battler:req, jumpptr:req
various \battler, VARIOUS_JUMP_IF_LEAF_GUARD_PROTECTED
.4byte \jumpptr
.endm
.macro jumpifsafeguard jumpptr:req