From e706b878d9f78466e6cc9eda184e14a798cc4a0d Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 23 Nov 2021 20:37:18 -0500 Subject: Use ~X instead of $ff ^ X --- engine/overworld/variables.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/overworld/variables.asm') diff --git a/engine/overworld/variables.asm b/engine/overworld/variables.asm index 321665ad5..65ad1ec74 100644 --- a/engine/overworld/variables.asm +++ b/engine/overworld/variables.asm @@ -137,5 +137,5 @@ _GetVarAction:: .BattleResult: ld a, [wBattleResult] - and $ff ^ BATTLERESULT_BITMASK + and ~BATTLERESULT_BITMASK jp .loadstringbuffer2 -- cgit v1.2.3