From 41437a7a2e2705cf0893fb3f1180cf3ac3c8c7b1 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Tue, 10 Jan 2023 07:52:50 -0800 Subject: [PATCH] forgot another register/nonmatching --- src/code_8069E0C.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/code_8069E0C.c b/src/code_8069E0C.c index 276f2ae23..9c0e6acaf 100644 --- a/src/code_8069E0C.c +++ b/src/code_8069E0C.c @@ -121,7 +121,11 @@ void sub_8069F9C(struct DungeonEntity *pokemon,struct DungeonEntity * target,str u8 type; u8 ability; const char *__src; +#ifndef NONMATCHING register s32 abilityCounter asm("r1"); // r1 +#else + s32 abilityCounter; +#endif int randomIndex; int abilityIndex; struct DungeonEntityData *iVar6; // r7