This commit is contained in:
Ethan Roseman 2020-11-07 15:23:28 -05:00
parent 0207e22f5e
commit 1588ca0061
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ INCLUDE_ASM(s32, "world/script_api/7E0E80", func_802802D0);
INCLUDE_ASM(s32, "world/script_api/7E0E80", func_8028035C);
ApiStatus func_802803C8(ScriptInstance *script, s32 isInitialCall) {
ApiStatus func_802803C8(ScriptInstance* script, s32 isInitialCall) {
PlayerStatus* playerStatus = PLAYER_STATUS;
script->varTable[2] = FALSE;
@ -51,7 +51,7 @@ INCLUDE_ASM(s32, "world/script_api/7E0E80", draw_shop_items);
INCLUDE_ASM(s32, "world/script_api/7E0E80", MakeShop);
ApiStatus MakeShopOwner(ScriptInstance *script, s32 isInitialCall) {
ApiStatus MakeShopOwner(ScriptInstance* script, s32 isInitialCall) {
Shop* mapShop = GAME_STATUS->mapShop;
mapShop->owner = get_variable(script, *script->ptrReadPos);

View File

@ -60,7 +60,7 @@ ApiStatus func_80283810(ScriptInstance* script, s32 isInitialCall) {
ApiStatus TeleportPartnerToPlayer(ScriptInstance* script, s32 isInitialCall) {
PlayerStatus* playerStatus = PLAYER_STATUS;
PlayerStatus* playerStatus2 = PLAYER_STATUS;
Npc *partner;
Npc* partner;
if (PLAYER_DATA->currentPartner == PartnerId_NONE) {
return ApiStatus_DONE2;