code_8042B34 decompiled

This commit is contained in:
DizzyEggg 2024-10-12 21:26:39 +02:00
parent ea1013ee85
commit 1012d7d12e
3 changed files with 5 additions and 10 deletions

View File

@ -1,9 +0,0 @@
#include "asm/constants/gba_constants.inc"
#include "asm/macros.inc"
.syntax unified
.text
.align 2, 0

View File

@ -108,6 +108,11 @@ static inline bool8 PokemonFlag2(PokemonStruct1 *mon)
return (((mon->unk0 >> 1) & 1));
}
static inline bool8 IsMonTeamLeader(PokemonStruct1 *pokemon)
{
return pokemon->isTeamLeader != FALSE;
}
#include "constants/dungeon.h"
static inline bool8 IsMonPartner(PokemonStruct1 *mon)

View File

@ -215,7 +215,6 @@ SECTIONS {
asm/code_8041AD0.o(.text);
src/code_804267C.o(.text);
src/code_8042B34.o(.text);
asm/code_8042B34.o(.text);
src/dungeon_engine.o(.text);
asm/code_8044210.o(.text);
src/dungeon_action.o(.text);