This commit is contained in:
Ethan Roseman 2020-10-03 16:20:12 -04:00
parent ffa57b5a35
commit be25066ca5
5 changed files with 19 additions and 19 deletions

View File

@ -23,6 +23,6 @@ typedef s32 ApiStatus;
struct ScriptInstance;
typedef ApiStatus (*ApiFunc)(struct ScriptInstance* script, s32 isInitialCall);
typedef ApiStatus(*ApiFunc)(struct ScriptInstance* script, s32 isInitialCall);
#endif

View File

@ -140,7 +140,7 @@ s32 get_coin_drop_amount(Enemy* enemy) {
amt *= 3;
}
if (is_ability_active(Ability_MONEY_MONEY) ) {
if (is_ability_active(Ability_MONEY_MONEY)) {
amt *= 2;
}

View File

@ -238,7 +238,7 @@ ApiStatus si_handle_case_default(ScriptInstance* script) {
#ifdef NON_MATCHING
ApiStatus si_handle_case_AND(ScriptInstance* script) {
Bytecode *args = script->ptrReadPos;
Bytecode* args = script->ptrReadPos;
s32 a0;
s32 switchBlockValue;