mirror of
https://github.com/pret/pmd-red.git
synced 2026-06-14 04:31:22 -05:00
17 lines
246 B
C
17 lines
246 B
C
#include "global.h"
|
|
#include "dungeon.h"
|
|
|
|
u32 sub_803C1B4(DungeonLocation *dungeon, u8 r1)
|
|
{
|
|
s32 temp;
|
|
temp = sub_80908D8(dungeon);
|
|
if(r1 == 2)
|
|
{
|
|
temp += 2;
|
|
}
|
|
if(temp > 0xF)
|
|
temp = 0xF;
|
|
return temp;
|
|
}
|
|
|