summaryrefslogtreecommitdiff
path: root/src/dungeon_random_1.c
blob: a6941f316e6c294e356a18f1fb81f678c4e3aeff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "global.h"
#include "dungeon_random_1.h"

#include "dungeon_random.h"

bool8 RollPercentChance(s32 percentChance)
{
    if (DungeonRandomCapped(100) < percentChance)
    {
        return TRUE;
    }
    return FALSE;
}