pmd-sky/src/main_02051760.c
cecilarmitais 3a80e75ed3 Decomp IsSkyExclusiveDungeon
Authored by Claude (Opus 4.8) under human direction. Confirmed by a matching
build: build/pmdsky.us/pmdsky.us.nds: OK.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-19 16:27:08 -07:00

17 lines
420 B
C

#include "main_02051760.h"
#include "enums.h"
#include "util.h"
bool8 IsSkyExclusiveDungeon(enum dungeon_id dungeon_id)
{
if (dungeon_id >= DUNGEON_ZERO_ISLE_CENTER && dungeon_id <= DUNGEON_ARMALDOS_SHELTER) {
return TRUE;
}
return FALSE;
}
bool32 JoinedAtRangeCheck2(u8 joined_at) {
return joined_at == DUNGEON_BEACH || (joined_at >= DUNGEON_DUMMY_0xEC && DUNGEON_DUMMY_0xF0 >= joined_at);
}