From c53bdc35f8bdd401e90dfae263a3f5fc9182f86b Mon Sep 17 00:00:00 2001 From: Cheng Hann Gan Date: Sun, 12 Dec 2021 15:52:06 -0500 Subject: Dungeon random/AI decomp + converted positions to structs (#83) * Decomped RollPercentChance() * Decomped DungeonRandomCapped() * Decomped DungeonRandom() * Decomped FindRockItemTargets() -Added position struct. --- include/dungeon_random_1.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/dungeon_random_1.h (limited to 'include/dungeon_random_1.h') diff --git a/include/dungeon_random_1.h b/include/dungeon_random_1.h new file mode 100644 index 0000000..bfc2ecd --- /dev/null +++ b/include/dungeon_random_1.h @@ -0,0 +1,7 @@ +#ifndef GUARD_DUNGEON_RANDOM_1_H +#define GUARD_DUNGEON_RANDOM_1_H + +// 0x84144 +bool8 RollPercentChance(s32 percentChance); + +#endif -- cgit v1.2.3