diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-24 17:45:49 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-12-24 17:45:49 -0600 |
commit | f0ef6ae481ec2cc655f1606f074de38ef26276c4 (patch) | |
tree | 028f81d66b2cd990d163062280e558a080b30071 /src/dungeon_random_1.c | |
parent | e7a59a1a21cec81190434e397f62c245e73063e4 (diff) |
decomp some more
Diffstat (limited to 'src/dungeon_random_1.c')
-rw-r--r-- | src/dungeon_random_1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dungeon_random_1.c b/src/dungeon_random_1.c index a6941f3..418a51c 100644 --- a/src/dungeon_random_1.c +++ b/src/dungeon_random_1.c @@ -11,3 +11,12 @@ bool8 RollPercentChance(s32 percentChance) } return FALSE; } + +bool8 RollPercentChance_2(s32 percentChance) +{ + if (DungeonRandomCapped(100) < percentChance) + { + return TRUE; + } + return FALSE; +} |