mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Work towards fixing alignment issues (#304)
This commit is contained in:
parent
9dce90da41
commit
6484e4883d
@ -195,3 +195,52 @@ Script N(DrinkItem) = SCRIPT({
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DIZZY_DIAL;
|
||||
await N(UseItemWithEffect);
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 10;
|
||||
spawn {
|
||||
sleep 5;
|
||||
AddBattleCamZoom(0xFFFFFF06);
|
||||
MoveBattleCamOver(80);
|
||||
func_8024ECF8(0, 0, 1);
|
||||
sleep 80;
|
||||
AddBattleCamZoom(250);
|
||||
MoveBattleCamOver(3);
|
||||
func_8024ECF8(0, 0, 1);
|
||||
}
|
||||
N(func_802A1270_727B80)();
|
||||
spawn {
|
||||
StartRumble(8);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 4.0);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 2.0);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 0.5);
|
||||
sleep 10;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(10);
|
||||
func_8024ECF8(0, 0, 0);
|
||||
}
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_DIZZY_DIAL, SI_VAR(0), SI_VAR(1));
|
||||
MakeStatusField(SI_VAR(0), 0x40000, 100, SI_VAR(0));
|
||||
func_80252B3C(SI_VAR(0), 0x50000000, SI_VAR(0), 0, 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,51 +0,0 @@
|
||||
#include "dizzy_dial.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DIZZY_DIAL;
|
||||
await N(UseItemWithEffect);
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 10;
|
||||
spawn {
|
||||
sleep 5;
|
||||
AddBattleCamZoom(0xFFFFFF06);
|
||||
MoveBattleCamOver(80);
|
||||
func_8024ECF8(0, 0, 1);
|
||||
sleep 80;
|
||||
AddBattleCamZoom(250);
|
||||
MoveBattleCamOver(3);
|
||||
func_8024ECF8(0, 0, 1);
|
||||
}
|
||||
N(func_802A1270_727B80)();
|
||||
spawn {
|
||||
StartRumble(8);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 4.0);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 2.0);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 0.5);
|
||||
sleep 10;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(10);
|
||||
func_8024ECF8(0, 0, 0);
|
||||
}
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_DIZZY_DIAL, SI_VAR(0), SI_VAR(1));
|
||||
MakeStatusField(SI_VAR(0), 0x40000, 100, SI_VAR(0));
|
||||
func_80252B3C(SI_VAR(0), 0x50000000, SI_VAR(0), 0, 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -177,3 +177,26 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DRIED_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_71CF1C)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
N(func_802A12FC_71CFDC)();
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,24 +0,0 @@
|
||||
#include "dried_shroom.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DRIED_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_71CF1C)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
N(func_802A12FC_71CFDC)();
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 1);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -234,3 +234,35 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_ELECTRO_POP;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
PlayEffect(0x57, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.0, 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySound(SOUND_UNKNOWN_379);
|
||||
GetItemPower(ITEM_VOLT_SHROOM, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_7307DC)();
|
||||
sleep 40;
|
||||
N(func_802A14F0_730A90)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A133C_7308DC)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
N(AddFP)(SI_VAR(3));
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
ShowMessageBox(16, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,33 +0,0 @@
|
||||
#include "electro_pop.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_ELECTRO_POP;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
PlayEffect(0x57, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.0, 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySound(SOUND_UNKNOWN_379);
|
||||
GetItemPower(ITEM_VOLT_SHROOM, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_7307DC)();
|
||||
sleep 40;
|
||||
N(func_802A14F0_730A90)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A133C_7308DC)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
N(AddFP)(SI_VAR(3));
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
ShowMessageBox(16, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -184,3 +184,65 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_FIRE_FLOWER;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_377);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_PLANT);
|
||||
spawn {
|
||||
sleep 50;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
sleep 35;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 10;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(3), SI_VAR(4), SI_VAR(5));
|
||||
SI_VAR(0) = 40;
|
||||
MultiplyByActorScale(SI_VAR(0));
|
||||
SI_VAR(3) += SI_VAR(0);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) -= 10;
|
||||
SetActorSpeed(ACTOR_PLAYER, 2.0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
PlayerRunToGoal(ACTOR_PLAYER);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
spawn {
|
||||
N(func_802A123C_716E9C)(SI_VAR(3), SI_VAR(4), SI_VAR(5));
|
||||
sleep 25;
|
||||
loop 12 {
|
||||
sleep 1;
|
||||
PlaySound(SOUND_UNKNOWN_202C);
|
||||
sleep 2;
|
||||
PlaySound(SOUND_UNKNOWN_202D);
|
||||
sleep 1;
|
||||
}
|
||||
}
|
||||
sleep 80;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_FIRE_FLOWER, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000002, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
N(func_802A1378_716FD8)();
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,63 +0,0 @@
|
||||
#include "fire_flower.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_FIRE_FLOWER;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_377);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_PLANT);
|
||||
spawn {
|
||||
sleep 50;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
sleep 35;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 10;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(3), SI_VAR(4), SI_VAR(5));
|
||||
SI_VAR(0) = 40;
|
||||
MultiplyByActorScale(SI_VAR(0));
|
||||
SI_VAR(3) += SI_VAR(0);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) -= 10;
|
||||
SetActorSpeed(ACTOR_PLAYER, 2.0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
PlayerRunToGoal(ACTOR_PLAYER);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
spawn {
|
||||
N(func_802A123C_716E9C)(SI_VAR(3), SI_VAR(4), SI_VAR(5));
|
||||
sleep 25;
|
||||
loop 12 {
|
||||
sleep 1;
|
||||
PlaySound(SOUND_UNKNOWN_202C);
|
||||
sleep 2;
|
||||
PlaySound(SOUND_UNKNOWN_202D);
|
||||
sleep 1;
|
||||
}
|
||||
}
|
||||
sleep 80;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_FIRE_FLOWER, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000002, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
N(func_802A1378_716FD8)();
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -245,3 +245,141 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_73330C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_7333BC)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(14) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A15A0_733670)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(1) = SI_VAR(14);
|
||||
await N(UseItemWithEffect);
|
||||
if (SI_VAR(13) == 0) {
|
||||
await N(EatItem);
|
||||
} else {
|
||||
await N(DrinkItem);
|
||||
}
|
||||
if (SI_VAR(15) == 1) {
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
}
|
||||
if (SI_VAR(11) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_733448)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(11) < 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_733448)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A1438_733508)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(12));
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) != 0) {
|
||||
N(AddHP)(SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) != 0) {
|
||||
N(AddFP)(SI_VAR(12));
|
||||
}
|
||||
if (SI_VAR(15) == 0) {
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
} else {
|
||||
sleep 30;
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,139 +0,0 @@
|
||||
#include "food.h"
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_73330C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_7333BC)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(14) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A15A0_733670)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(1) = SI_VAR(14);
|
||||
await N(UseItemWithEffect);
|
||||
if (SI_VAR(13) == 0) {
|
||||
await N(EatItem);
|
||||
} else {
|
||||
await N(DrinkItem);
|
||||
}
|
||||
if (SI_VAR(15) == 1) {
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
}
|
||||
if (SI_VAR(11) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_733448)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(11) < 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_733448)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A1438_733508)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(12));
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) != 0) {
|
||||
N(AddHP)(SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) != 0) {
|
||||
N(AddFP)(SI_VAR(12));
|
||||
}
|
||||
if (SI_VAR(15) == 0) {
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
} else {
|
||||
sleep 30;
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -173,3 +173,57 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_FRIGHT_JAR;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(50);
|
||||
}
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_CROUCH);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_367);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0xFFFFFFD8;
|
||||
SI_VAR(1) += 5;
|
||||
SI_VAR(3) = 0.7001953125;
|
||||
loop 5 {
|
||||
PlayEffect(0x61, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3), 25, 0, 0, 0, 0, 0, 0, 0);
|
||||
SI_VAR(0) += 5;
|
||||
SI_VAR(3) += 0.150390625;
|
||||
sleep 7;
|
||||
}
|
||||
PlayEffect(0x61, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.5, 60, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 20;
|
||||
loop 4 {
|
||||
AddBattleCamZoom(0xFFFFFF9C);
|
||||
MoveBattleCamOver(2);
|
||||
sleep 2;
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(2);
|
||||
sleep 2;
|
||||
}
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
func_80269EAC(21);
|
||||
ItemAfflictEnemy(SI_VAR(0), 0x70001000, 0, 100, 0, 32);
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_WALKING);
|
||||
N(func_802A12D4_72BBE4)();
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,55 +0,0 @@
|
||||
#include "fright_jar.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_FRIGHT_JAR;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(50);
|
||||
}
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_CROUCH);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_367);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0xFFFFFFD8;
|
||||
SI_VAR(1) += 5;
|
||||
SI_VAR(3) = 0.7001953125;
|
||||
loop 5 {
|
||||
PlayEffect(0x61, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3), 25, 0, 0, 0, 0, 0, 0, 0);
|
||||
SI_VAR(0) += 5;
|
||||
SI_VAR(3) += 0.150390625;
|
||||
sleep 7;
|
||||
}
|
||||
PlayEffect(0x61, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.5, 60, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 20;
|
||||
loop 4 {
|
||||
AddBattleCamZoom(0xFFFFFF9C);
|
||||
MoveBattleCamOver(2);
|
||||
sleep 2;
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(2);
|
||||
sleep 2;
|
||||
}
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
func_80269EAC(21);
|
||||
ItemAfflictEnemy(SI_VAR(0), 0x70001000, 0, 100, 0, 32);
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_WALKING);
|
||||
N(func_802A12D4_72BBE4)();
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -187,3 +187,81 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_HUSTLE_DRINK;
|
||||
await N(UseItemWithEffect);
|
||||
await N(DrinkItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_SQUISH);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(func_802A12C4_726224)();
|
||||
N(func_802A123C_72619C)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
UseBattleCamPreset(13);
|
||||
BattleCamTargetActor(ACTOR_SELF);
|
||||
MoveBattleCamOver(20);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_369);
|
||||
spawn {
|
||||
loop 2 {
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.3505859375, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.380859375, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.400390625, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
}
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.3505859375, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.380859375, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.400390625, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_208E);
|
||||
SetActorScale(ACTOR_SELF, 0.900390625, 1.30078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 0.900390625, 1.2001953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 0.9501953125, 1.1005859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_369);
|
||||
PlayEffect(0x6, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x6, 1, SI_VAR(0), SI_VAR(1), SI_VAR(2), 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 4;
|
||||
}
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,79 +0,0 @@
|
||||
#include "hustle_drink.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_HUSTLE_DRINK;
|
||||
await N(UseItemWithEffect);
|
||||
await N(DrinkItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_SQUISH);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(func_802A12C4_726224)();
|
||||
N(func_802A123C_72619C)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
UseBattleCamPreset(13);
|
||||
BattleCamTargetActor(ACTOR_SELF);
|
||||
MoveBattleCamOver(20);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_369);
|
||||
spawn {
|
||||
loop 2 {
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.3505859375, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.380859375, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.400390625, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
}
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.1005859375, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.2001953125, 0.9501953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.30078125, 0.900390625, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.3505859375, 0.8505859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.380859375, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.400390625, 0.80078125, 1.0);
|
||||
sleep 1;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_208E);
|
||||
SetActorScale(ACTOR_SELF, 0.900390625, 1.30078125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 0.900390625, 1.2001953125, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 0.9501953125, 1.1005859375, 1.0);
|
||||
sleep 1;
|
||||
SetActorScale(ACTOR_SELF, 1.0, 1.0, 1.0);
|
||||
sleep 1;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_369);
|
||||
PlayEffect(0x6, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x6, 1, SI_VAR(0), SI_VAR(1), SI_VAR(2), 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 4;
|
||||
}
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -234,3 +234,112 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_72E76C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_72E81C)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(15) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A1484_72E9B4)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(10) = (const) ITEM_LIFE_SHROOM;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
N(func_802A1438_72E968)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_72E8A8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,110 +0,0 @@
|
||||
#include "life_shroom.h"
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_72E76C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_72E81C)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(15) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A1484_72E9B4)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(10) = (const) ITEM_LIFE_SHROOM;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
N(func_802A1438_72E968)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_72E8A8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -233,3 +233,131 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_715A8C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_715B3C)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(14) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A15A0_715DF0)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(1) = SI_VAR(14);
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
if (SI_VAR(15) == 1) {
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
}
|
||||
if (SI_VAR(11) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_715BC8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A1438_715C88)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(12));
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) != 0) {
|
||||
N(AddHP)(SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) != 0) {
|
||||
N(AddFP)(SI_VAR(12));
|
||||
}
|
||||
if (SI_VAR(15) == 0) {
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
} else {
|
||||
sleep 30;
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,129 +0,0 @@
|
||||
#include "mushroom.h"
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_715A8C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_715B3C)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(14) = SI_VAR(1);
|
||||
GetMenuSelection(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(10) = SI_VAR(1);
|
||||
N(func_802A15A0_715DF0)(SI_VAR(10));
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PARTNER) {
|
||||
await N(script6);
|
||||
return;
|
||||
}
|
||||
SI_VAR(1) = SI_VAR(14);
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
if (SI_VAR(15) == 1) {
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_STICK_OUT_TONGUE);
|
||||
}
|
||||
if (SI_VAR(11) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1378_715BC8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) > 0) {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 20;
|
||||
SI_VAR(1) += 25;
|
||||
N(func_802A1438_715C88)(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(12));
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) != 0) {
|
||||
N(AddHP)(SI_VAR(11));
|
||||
}
|
||||
if (SI_VAR(12) != 0) {
|
||||
N(AddFP)(SI_VAR(12));
|
||||
}
|
||||
if (SI_VAR(15) == 0) {
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
} else {
|
||||
sleep 30;
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -155,3 +155,17 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DIZZY_DIAL;
|
||||
await N(UseItemWithEffect);
|
||||
SetGoalToHome(ACTOR_PLAYER);
|
||||
SetJumpAnimations(ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009);
|
||||
SetActorSpeed(ACTOR_PLAYER, 4.0);
|
||||
SetActorJumpGravity(ACTOR_PLAYER, 1.80078125);
|
||||
func_80273444(4, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_8000B);
|
||||
sleep 8;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
});
|
||||
|
@ -1,15 +0,0 @@
|
||||
#include "please_come_back.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_DIZZY_DIAL;
|
||||
await N(UseItemWithEffect);
|
||||
SetGoalToHome(ACTOR_PLAYER);
|
||||
SetJumpAnimations(ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009);
|
||||
SetActorSpeed(ACTOR_PLAYER, 4.0);
|
||||
SetActorJumpGravity(ACTOR_PLAYER, 1.80078125);
|
||||
func_80273444(4, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_8000B);
|
||||
sleep 8;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
});
|
||||
|
@ -198,3 +198,78 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_P_O_W_BLOCK;
|
||||
await N(UseItemWithEffect);
|
||||
sleep 10;
|
||||
MakeEntity(0x802EA2E0, -40, 60, 0, 0, MAKE_ENTITY_END);
|
||||
SI_VAR(10) = SI_VAR(0);
|
||||
N(func_802A1318_718B68)();
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -30, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
spawn {
|
||||
sleep 15;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_HIT_BLOCK);
|
||||
N(func_802A123C_718A8C)();
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -30, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
StartRumble(4);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 6.0);
|
||||
ShakeCam(1, 0, 2, 5.0);
|
||||
ShakeCam(1, 0, 2, 4.0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_2030);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 2.0);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 0.5);
|
||||
ShakeCam(1, 0, 2, 0.2001953125);
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 30;
|
||||
SetActorSpeed(ACTOR_PLAYER, 4.0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
PlayerRunToGoal(ACTOR_PLAYER);
|
||||
sleep 5;
|
||||
SetJumpAnimations(ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009);
|
||||
SetActorJumpGravity(ACTOR_PLAYER, 0.6005859375);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_80273444(20, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_P_O_W_BLOCK, SI_VAR(3), SI_VAR(4));
|
||||
ApplyShrinkFromOwner(SI_VAR(3));
|
||||
func_80269EAC(22);
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000400, 0, SI_VAR(3), 32);
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
PlayEffect(0x7, 2, -70, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -60, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -70, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -70, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
N(func_802A12E4_718B34)();
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,76 +0,0 @@
|
||||
#include "pow_block.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_P_O_W_BLOCK;
|
||||
await N(UseItemWithEffect);
|
||||
sleep 10;
|
||||
MakeEntity(0x802EA2E0, -40, 60, 0, 0, MAKE_ENTITY_END);
|
||||
SI_VAR(10) = SI_VAR(0);
|
||||
N(func_802A1318_718B68)();
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -30, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
spawn {
|
||||
sleep 15;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_HIT_BLOCK);
|
||||
N(func_802A123C_718A8C)();
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -30, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -40, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
StartRumble(4);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 6.0);
|
||||
ShakeCam(1, 0, 2, 5.0);
|
||||
ShakeCam(1, 0, 2, 4.0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_2030);
|
||||
ShakeCam(1, 0, 2, 3.0);
|
||||
ShakeCam(1, 0, 2, 2.0);
|
||||
ShakeCam(1, 0, 2, 1.0);
|
||||
ShakeCam(1, 0, 2, 0.5);
|
||||
ShakeCam(1, 0, 2, 0.2001953125);
|
||||
}
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 30;
|
||||
SetActorSpeed(ACTOR_PLAYER, 4.0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_RUNNING);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
PlayerRunToGoal(ACTOR_PLAYER);
|
||||
sleep 5;
|
||||
SetJumpAnimations(ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009);
|
||||
SetActorJumpGravity(ACTOR_PLAYER, 0.6005859375);
|
||||
SetGoalPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_80273444(20, 0, 0);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_P_O_W_BLOCK, SI_VAR(3), SI_VAR(4));
|
||||
ApplyShrinkFromOwner(SI_VAR(3));
|
||||
func_80269EAC(22);
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000400, 0, SI_VAR(3), 32);
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
PlayEffect(0x7, 2, -70, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -60, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -70, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlayEffect(0x7, 2, -70, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
N(func_802A12E4_718B34)();
|
||||
sleep 30;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -167,3 +167,23 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_REPEL_GEL;
|
||||
await N(UseItemWithEffect);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_375);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_30008);
|
||||
sleep 45;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
PlayEffect(0x33, 3, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.0, 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_376);
|
||||
GetItemPower(ITEM_REPEL_GEL, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_72DDAC)();
|
||||
sleep 20;
|
||||
ShowMessageBox(17, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
||||
|
@ -1,21 +0,0 @@
|
||||
#include "repel_gel.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_REPEL_GEL;
|
||||
await N(UseItemWithEffect);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_375);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_30008);
|
||||
sleep 45;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
PlayEffect(0x33, 3, SI_VAR(0), SI_VAR(1), SI_VAR(2), 1.0, 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_376);
|
||||
GetItemPower(ITEM_REPEL_GEL, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_72DDAC)();
|
||||
sleep 20;
|
||||
ShowMessageBox(17, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
||||
|
@ -246,3 +246,74 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SHOOTING_STAR;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(func_802A1444_71DBB4)();
|
||||
spawn {
|
||||
SI_VAR(0) = 0;
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_259);
|
||||
N(func_802A123C_71D9AC)();
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25A);
|
||||
N(func_802A123C_71D9AC)();
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
}
|
||||
}
|
||||
spawn {
|
||||
SI_VAR(0) = 0;
|
||||
sleep 50;
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25C);
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25D);
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
}
|
||||
}
|
||||
spawn {
|
||||
loop 5 {
|
||||
sleep 15;
|
||||
StartRumble(8);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
}
|
||||
}
|
||||
sleep 90;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A1388_71DAF8)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_SHOOTING_STAR, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000100, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 10;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 20;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
await N(PlayerGoHome);
|
||||
spawn {
|
||||
N(func_802A14D4_71DC44)();
|
||||
}
|
||||
sleep 30;
|
||||
});
|
@ -1,72 +0,0 @@
|
||||
#include "shooting_star.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SHOOTING_STAR;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(func_802A1444_71DBB4)();
|
||||
spawn {
|
||||
SI_VAR(0) = 0;
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_259);
|
||||
N(func_802A123C_71D9AC)();
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25A);
|
||||
N(func_802A123C_71D9AC)();
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
}
|
||||
}
|
||||
spawn {
|
||||
SI_VAR(0) = 0;
|
||||
sleep 50;
|
||||
loop 10 {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25C);
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_25D);
|
||||
SI_VAR(0) += 1;
|
||||
sleep 5;
|
||||
}
|
||||
}
|
||||
spawn {
|
||||
loop 5 {
|
||||
sleep 15;
|
||||
StartRumble(8);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
}
|
||||
}
|
||||
sleep 90;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A1388_71DAF8)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_SHOOTING_STAR, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000100, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 10;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
sleep 20;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
await N(PlayerGoHome);
|
||||
spawn {
|
||||
N(func_802A14D4_71DC44)();
|
||||
}
|
||||
sleep 30;
|
||||
});
|
@ -185,3 +185,71 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SNOWMAN_DOLL;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_363);
|
||||
spawn {
|
||||
loop 45 {
|
||||
RandInt(300, SI_VAR(0));
|
||||
SI_VAR(0) -= 150;
|
||||
SI_VAR(1) = 170;
|
||||
RandInt(50, SI_VAR(2));
|
||||
SI_VAR(2) -= 25;
|
||||
PlayEffect(0xE, SI_VAR(0), SI_VAR(1), SI_VAR(2), 60, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 2;
|
||||
}
|
||||
}
|
||||
sleep 10;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(50);
|
||||
sleep 50;
|
||||
PlayEffect(0x60, 0, 0, 0, 20, 1.0, 160, 0, 0, 0, 0, 0, 0, 0);
|
||||
spawn {
|
||||
sleep 17;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 46;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 25;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 25;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
}
|
||||
sleep 15;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
ShakeCam(1, 0, 10, 2.0);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 110;
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_71C06C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_SNOWMAN_DOLL, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000008, 0, SI_VAR(0), 32);
|
||||
sleep 5;
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A13B8_71C1E8)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,69 +0,0 @@
|
||||
#include "snowman_doll.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SNOWMAN_DOLL;
|
||||
await N(UseItemWithEffect);
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_363);
|
||||
spawn {
|
||||
loop 45 {
|
||||
RandInt(300, SI_VAR(0));
|
||||
SI_VAR(0) -= 150;
|
||||
SI_VAR(1) = 170;
|
||||
RandInt(50, SI_VAR(2));
|
||||
SI_VAR(2) -= 25;
|
||||
PlayEffect(0xE, SI_VAR(0), SI_VAR(1), SI_VAR(2), 60, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
sleep 2;
|
||||
}
|
||||
}
|
||||
sleep 10;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(50);
|
||||
sleep 50;
|
||||
PlayEffect(0x60, 0, 0, 0, 20, 1.0, 160, 0, 0, 0, 0, 0, 0, 0);
|
||||
spawn {
|
||||
sleep 17;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 46;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 25;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 25;
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_202E);
|
||||
StartRumble(9);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
}
|
||||
sleep 15;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
ShakeCam(1, 0, 10, 2.0);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
sleep 110;
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_71C06C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
GetItemPower(ITEM_SNOWMAN_DOLL, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000008, 0, SI_VAR(0), 32);
|
||||
sleep 5;
|
||||
1:
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A13B8_71C1E8)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -197,3 +197,17 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_STONE_CAP;
|
||||
await N(UseItemWithEffect);
|
||||
PlaySound(SOUND_UNKNOWN_361);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_30009);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_CROUCH);
|
||||
GetItemPower(ITEM_STONE_CAP, SI_VAR(0), SI_VAR(1));
|
||||
PlaySound(SOUND_UNKNOWN_362);
|
||||
N(func_802A123C_7217DC)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 20;
|
||||
});
|
@ -1,15 +0,0 @@
|
||||
#include "stone_cap.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_STONE_CAP;
|
||||
await N(UseItemWithEffect);
|
||||
PlaySound(SOUND_UNKNOWN_361);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_30009);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_CROUCH);
|
||||
GetItemPower(ITEM_STONE_CAP, SI_VAR(0), SI_VAR(1));
|
||||
PlaySound(SOUND_UNKNOWN_362);
|
||||
N(func_802A123C_7217DC)();
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 20;
|
||||
});
|
@ -173,3 +173,37 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_STOP_WATCH;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlayEffect(0x62, 0, 0, 0, 0, 1.0, 200, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_246);
|
||||
sleep 200;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_STOP_WATCH, SI_VAR(0), SI_VAR(1));
|
||||
MakeStatusField(SI_VAR(0), 0x200000, 100, SI_VAR(0));
|
||||
func_80252B3C(SI_VAR(0), 0x50000000, SI_VAR(0), 0, 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
N(func_802A12D4_7270A4)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,35 +0,0 @@
|
||||
#include "stop_watch.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_STOP_WATCH;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlayEffect(0x62, 0, 0, 0, 0, 1.0, 200, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_246);
|
||||
sleep 200;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
GetItemPower(ITEM_STOP_WATCH, SI_VAR(0), SI_VAR(1));
|
||||
MakeStatusField(SI_VAR(0), 0x200000, 100, SI_VAR(0));
|
||||
func_80252B3C(SI_VAR(0), 0x50000000, SI_VAR(0), 0, 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
N(func_802A12D4_7270A4)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -233,3 +233,116 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_724F1C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_724FCC)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SUPER_SODA;
|
||||
await N(UseItemWithEffect);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PLAYER) {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_2095);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1418_7250F8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(AddFP)(5);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A1378_725058)(ACTOR_PLAYER);
|
||||
sleep 20;
|
||||
} else {
|
||||
SI_VAR(11) = 0;
|
||||
SI_VAR(12) = 0;
|
||||
SI_VAR(15) = 0;
|
||||
await N(script6);
|
||||
}
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,114 +0,0 @@
|
||||
#include "super_soda.h"
|
||||
|
||||
Script N(script6) = SCRIPT({
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 180);
|
||||
sleep 10;
|
||||
SI_VAR(1) = SI_VAR(15);
|
||||
await N(UseItem);
|
||||
SI_VAR(14) = SI_VAR(10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THROW);
|
||||
spawn {
|
||||
sleep 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
}
|
||||
CreateVirtualEntity(SI_VAR(10), 0x80283EE8);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 30;
|
||||
SI_VAR(2) += 5;
|
||||
SetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetVirtualEntityFlags(SI_VAR(10), 32);
|
||||
spawn {
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 45;
|
||||
MakeItemEntity(SI_VAR(14), SI_VAR(0), SI_VAR(1), SI_VAR(2), 1, 0);
|
||||
SI_VAR(14) = SI_VAR(0);
|
||||
loop 25 {
|
||||
GetVirtualEntityPosition(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
N(func_802A123C_724F1C)(SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
sleep 1;
|
||||
}
|
||||
RemoveItemEntity(SI_VAR(14));
|
||||
}
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetGoalPos(ACTOR_SELF, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SetBattleCamTarget(0xFFFFFF83, 1, 0);
|
||||
SetBattleCamOffsetZ(41);
|
||||
SetBattleCamZoom(248);
|
||||
MoveBattleCamOver(25);
|
||||
SetVirtualEntityJumpGravity(SI_VAR(10), 0.400390625);
|
||||
SI_VAR(2) += 5;
|
||||
VirtualEntityJumpTo(SI_VAR(10), SI_VAR(0), SI_VAR(1), SI_VAR(2), 25);
|
||||
AddBattleCamZoom(100);
|
||||
MoveBattleCamOver(30);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
if (SI_VAR(11) > 0) {
|
||||
N(func_802A12EC_724FCC)(SI_VAR(11));
|
||||
}
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(11));
|
||||
sleep 20;
|
||||
SetActorYaw(ACTOR_PLAYER, 150);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 120);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 90);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 60);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 30);
|
||||
sleep 1;
|
||||
SetActorYaw(ACTOR_PLAYER, 0);
|
||||
sleep 10;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SUPER_SODA;
|
||||
await N(UseItemWithEffect);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == ACTOR_PLAYER) {
|
||||
PlaySoundAtActor(ACTOR_PLAYER, SOUND_UNKNOWN_2095);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A1418_7250F8)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(AddFP)(5);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A1378_725058)(ACTOR_PLAYER);
|
||||
sleep 20;
|
||||
} else {
|
||||
SI_VAR(11) = 0;
|
||||
SI_VAR(12) = 0;
|
||||
SI_VAR(15) = 0;
|
||||
await N(script6);
|
||||
}
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -180,3 +180,41 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_TASTY_TONIC;
|
||||
await N(UseItemWithEffect);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == 0) {
|
||||
await N(DrinkItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
N(func_802A123C_72223C)(ACTOR_PLAYER);
|
||||
sleep 20;
|
||||
} else {
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(func_802A123C_72223C)(ACTOR_PARTNER);
|
||||
sleep 20;
|
||||
}
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,39 +0,0 @@
|
||||
#include "tasty_tonic.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_TASTY_TONIC;
|
||||
await N(UseItemWithEffect);
|
||||
InitTargetIterator();
|
||||
GetOwnerTarget(SI_VAR(0), SI_VAR(1));
|
||||
if (SI_VAR(0) == 0) {
|
||||
await N(DrinkItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
N(func_802A123C_72223C)(ACTOR_PLAYER);
|
||||
sleep 20;
|
||||
} else {
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 20;
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PARTNER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 5);
|
||||
N(func_802A123C_72223C)(ACTOR_PARTNER);
|
||||
sleep 20;
|
||||
}
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -201,3 +201,36 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_THUNDER_BOLT;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_365);
|
||||
sleep 10;
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
N(func_802A123C_722D7C)();
|
||||
sleep 5;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
GetItemPower(ITEM_THUNDER_RAGE, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000020, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A1420_722F60)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,34 +0,0 @@
|
||||
#include "thunder_bolt.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_THUNDER_BOLT;
|
||||
await N(UseItemWithEffect);
|
||||
spawn {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_365);
|
||||
sleep 10;
|
||||
InitTargetIterator();
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
N(func_802A123C_722D7C)();
|
||||
sleep 5;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
GetItemPower(ITEM_THUNDER_RAGE, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000020, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A1420_722F60)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -201,3 +201,42 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_THUNDER_RAGE;
|
||||
await N(UseItemWithEffect);
|
||||
parallel {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_365);
|
||||
sleep 10;
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
N(func_802A1354_71B4F4)();
|
||||
sleep 5;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetItemPower(ITEM_THUNDER_RAGE, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000020, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A12D4_71B474)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,40 +0,0 @@
|
||||
#include "thunder_rage.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_THUNDER_RAGE;
|
||||
await N(UseItemWithEffect);
|
||||
parallel {
|
||||
sleep 5;
|
||||
UseBattleCamPreset(2);
|
||||
MoveBattleCamOver(20);
|
||||
}
|
||||
N(FadeBackgroundToBlack)();
|
||||
PlaySound(SOUND_UNKNOWN_365);
|
||||
sleep 10;
|
||||
InitTargetIterator();
|
||||
0:
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
ItemCheckHit(SI_VAR(0), 0x10000000, 0, SI_VAR(0), 0);
|
||||
if (SI_VAR(0) == 6) {
|
||||
goto 1;
|
||||
}
|
||||
N(func_802A1354_71B4F4)();
|
||||
sleep 5;
|
||||
StartRumble(10);
|
||||
ShakeCam(1, 0, 5, 1.0);
|
||||
SetGoalToTarget(ACTOR_SELF);
|
||||
GetItemPower(ITEM_THUNDER_RAGE, SI_VAR(0), SI_VAR(1));
|
||||
ItemDamageEnemy(SI_VAR(0), 0x38000020, 0, SI_VAR(0), 32);
|
||||
1:
|
||||
sleep 5;
|
||||
ChooseNextTarget(0, SI_VAR(0));
|
||||
if (SI_VAR(0) != -1) {
|
||||
goto 0;
|
||||
}
|
||||
UseBattleCamPreset(3);
|
||||
MoveBattleCamOver(20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 30;
|
||||
N(func_802A12D4_71B474)();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -176,3 +176,29 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SUPER_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
AddBattleCamZoom(50);
|
||||
MoveBattleCamOver(20);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_7239BC)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
N(func_802A12FC_723A7C)();
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,27 +0,0 @@
|
||||
#include "ultra_shroom.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_SUPER_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
AddBattleCamZoom(50);
|
||||
MoveBattleCamOver(20);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_7239BC)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
N(func_802A12FC_723A7C)();
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 10);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -176,3 +176,27 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_ULTRA_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_72447C)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
N(func_802A12FC_72453C)();
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,25 +0,0 @@
|
||||
#include "unknown_item.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_ULTRA_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(0) += 0;
|
||||
SI_VAR(1) += 35;
|
||||
N(func_802A123C_72447C)(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(1) += 25;
|
||||
SI_VAR(2) += 5;
|
||||
func_802D7520(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
N(func_802A12FC_72453C)();
|
||||
sleep 10;
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_THUMBS_UP);
|
||||
sleep 30;
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(2) += 5;
|
||||
func_802D75D8(SI_VAR(0), SI_VAR(1), SI_VAR(2), 20);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
sleep 20;
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -164,3 +164,24 @@ Script N(DrinkItem) = SCRIPT({
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_DRINK);
|
||||
sleep 45;
|
||||
});
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_VOLT_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(3) = 20;
|
||||
MultiplyByActorScale(SI_VAR(3));
|
||||
SI_VAR(1) += SI_VAR(3);
|
||||
SI_VAR(3) = 1.0;
|
||||
MultiplyByActorScale(SI_VAR(3));
|
||||
PlayEffect(0x57, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3), 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySound(SOUND_UNKNOWN_379);
|
||||
GetItemPower(ITEM_VOLT_SHROOM, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_71AA2C)();
|
||||
sleep 20;
|
||||
ShowMessageBox(16, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,22 +0,0 @@
|
||||
#include "volt_shroom.h"
|
||||
|
||||
Script N(main) = SCRIPT({
|
||||
SI_VAR(10) = (const) ITEM_VOLT_SHROOM;
|
||||
await N(UseItemWithEffect);
|
||||
await N(EatItem);
|
||||
SetAnimation(ACTOR_PLAYER, 0, ANIM_10002);
|
||||
GetActorPos(ACTOR_PLAYER, SI_VAR(0), SI_VAR(1), SI_VAR(2));
|
||||
SI_VAR(3) = 20;
|
||||
MultiplyByActorScale(SI_VAR(3));
|
||||
SI_VAR(1) += SI_VAR(3);
|
||||
SI_VAR(3) = 1.0;
|
||||
MultiplyByActorScale(SI_VAR(3));
|
||||
PlayEffect(0x57, 0, SI_VAR(0), SI_VAR(1), SI_VAR(2), SI_VAR(3), 30, 0, 0, 0, 0, 0, 0, 0);
|
||||
PlaySound(SOUND_UNKNOWN_379);
|
||||
GetItemPower(ITEM_VOLT_SHROOM, SI_VAR(0), SI_VAR(1));
|
||||
N(func_802A123C_71AA2C)();
|
||||
sleep 20;
|
||||
ShowMessageBox(16, 60);
|
||||
WaitForMessageBoxDone();
|
||||
await N(PlayerGoHome);
|
||||
});
|
@ -1,11 +1,5 @@
|
||||
#include "common.h"
|
||||
|
||||
void intro_logos_set_fade_alpha(s16 alpha);
|
||||
void intro_logos_set_fade_color(s16 color);
|
||||
s16 intro_logos_fade_in(s16 subtractAlpha);
|
||||
s16 intro_logos_fade_out(s16 addAlpha);
|
||||
void intro_logos_update_fade(void);
|
||||
|
||||
void intro_logos_set_fade_alpha(s16 alpha) {
|
||||
gGameStatusPtr->bootAlpha = alpha;
|
||||
}
|
||||
|
@ -3,9 +3,6 @@
|
||||
|
||||
void appendGfx_intro_logos();
|
||||
|
||||
// bss?
|
||||
extern s8* D_800A0910;
|
||||
|
||||
Gfx D_80077908[] = {
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCycleType(G_CYC_1CYCLE),
|
||||
@ -17,6 +14,9 @@ Gfx D_80077908[] = {
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
// bss?
|
||||
extern s8* D_800A0910;
|
||||
|
||||
void state_init_logos(void) {
|
||||
s8* romStart;
|
||||
s8* romEnd;
|
||||
|
@ -19,3 +19,18 @@ glabel D_80240E90_AF87E0
|
||||
|
||||
glabel D_80240E94_AF87E4
|
||||
.word 0x00000043, 0x00000002, func_80240000_AF7950, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80240EB8_AF8808
|
||||
.word 0x00000000, 0x00000000, 0x00000000, D_8010B160, 0x31100810, 0x08100810, 0x08000000, 0x00000000, 0xFC617E60, 0xF5FFF578, 0xFC612660, 0xF5FFFF78, 0xFFB7B5FF, 0x7A593FFF
|
||||
|
||||
glabel D_80240EF0_AF8840
|
||||
.word 0x0A000064, 0x00420078, 0x001C0000, func_802400E4_AF7A34, 0x00000000, 0xFF000000, 0x00000002, 0x00000000, D_80240EB8_AF8808, 0x0B000020, 0x00B80100, 0x00200000, func_80240178_AF7AC8, 0x00000000, 0xFF000000, 0x00000002, 0x00000000, 0xFFFFFFFF
|
||||
|
||||
glabel D_80240F38_AF8888
|
||||
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0x00000002, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000044, 0x00000001, ExitSingleDoor, 0x00000008, 0x00000001, 0x00000011, 0x0000000A, 0x00000002, 0xF5DE0180, 0xFFFFFF80, 0x00000043, 0x00000003, GotoMap, 0x802461A8, 0x00000003, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GotoMap, 0x802461A0, 0x00000003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_80241010_AF8960
|
||||
.word 0x00000047, 0x00000005, D_80240F38_AF8888, 0x00000100, 0x00000002, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_8024103C_AF898C
|
||||
.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000006, 0x00000044, 0x00000001, 0x80243F14, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000002, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000044, 0x00000001, D_80241010_AF8960, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x0000001A, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x802416E4, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x80241AF4, 0x00000023, 0x00000000, 0x00000044, 0x00000001, 0x80240D60, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000044, 0x00000001, D_8024103C_AF898C, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000006, 0x00000043, 0x00000001, func_802401FC_AF7B4C, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000
|
||||
|
@ -1,18 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel D_80240EB8_AF8808
|
||||
.word 0x00000000, 0x00000000, 0x00000000, D_8010B160, 0x31100810, 0x08100810, 0x08000000, 0x00000000, 0xFC617E60, 0xF5FFF578, 0xFC612660, 0xF5FFFF78, 0xFFB7B5FF, 0x7A593FFF
|
||||
|
||||
glabel D_80240EF0_AF8840
|
||||
.word 0x0A000064, 0x00420078, 0x001C0000, func_802400E4_AF7A34, 0x00000000, 0xFF000000, 0x00000002, 0x00000000, D_80240EB8_AF8808, 0x0B000020, 0x00B80100, 0x00200000, func_80240178_AF7AC8, 0x00000000, 0xFF000000, 0x00000002, 0x00000000, 0xFFFFFFFF
|
||||
|
||||
glabel D_80240F38_AF8888
|
||||
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0x00000002, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000044, 0x00000001, ExitSingleDoor, 0x00000008, 0x00000001, 0x00000011, 0x0000000A, 0x00000002, 0xF5DE0180, 0xFFFFFF80, 0x00000043, 0x00000003, GotoMap, 0x802461A8, 0x00000003, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GotoMap, 0x802461A0, 0x00000003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_80241010_AF8960
|
||||
.word 0x00000047, 0x00000005, D_80240F38_AF8888, 0x00000100, 0x00000002, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_8024103C_AF898C
|
||||
.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000006, 0x00000044, 0x00000001, 0x80243F14, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000002, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000044, 0x00000001, D_80241010_AF8960, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x0000001A, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x802416E4, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x80241AF4, 0x00000023, 0x00000000, 0x00000044, 0x00000001, 0x80240D60, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000044, 0x00000001, D_8024103C_AF898C, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000006, 0x00000043, 0x00000001, func_802401FC_AF7B4C, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000
|
File diff suppressed because one or more lines are too long
@ -1,6 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel D_80245A88_8DFB88
|
||||
.word 0x00000003, 0x802452C8, 0x01010000, 0x00000001, 0x80245898, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -261,7 +261,7 @@ segments:
|
||||
- [0x527F0, .data, os/nusys/7e40_len_3f0]
|
||||
- [0x52800, .data, os/nusys/nuSiMgr]
|
||||
- [0x52810, .data, camera]
|
||||
- [auto, .data, game_modes]
|
||||
- [0x52820, .data, game_modes]
|
||||
- [0x52CA0, .data, state_battle]
|
||||
- [0x52D08, .data, state_logos]
|
||||
- [0x52D50, .data, state_pause]
|
||||
@ -341,7 +341,6 @@ segments:
|
||||
- type: code
|
||||
start: 0x759B0
|
||||
vram: 0x800DC500
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x759b0, c, 759b0_len_61b0]
|
||||
- [0x77480, c, 77480]
|
||||
@ -367,15 +366,7 @@ segments:
|
||||
- [0x9DA58, data]
|
||||
- [0x9DA60, rgba32, ui/stat_flower, 16, 16]
|
||||
- [0x9DE60, data]
|
||||
- [0xA5100, .rodata, 77480]
|
||||
- [0xA51E0, .rodata, 7B440]
|
||||
- [0xA5230, .rodata, 7bb60_len_41b0]
|
||||
- [0xA53E0, .rodata, 7fd10_len_b40]
|
||||
- [0xA5410, .rodata, 80850_len_3060]
|
||||
- [0xA54F0, .rodata, world/partners]
|
||||
- [0xA5798, .rodata, 891b0_len_fb0]
|
||||
- [0xA57C0, .rodata, 8a160_len_700]
|
||||
- [0xA57E0, .rodata, 8a860_len_3f30] # bss at 8010C920
|
||||
- [0xA5100] # bss at 8010C920
|
||||
- type: code
|
||||
start: 0xA5DD0
|
||||
vram: 0x8010F6D0
|
||||
@ -467,14 +458,7 @@ segments:
|
||||
#- [0x10AD70, i4, shadow/10AD70, 32, 32]
|
||||
- [0x10AF70, .data, 104730]
|
||||
- [0x10B610, data]
|
||||
- [0x10C880, .rodata, 102C80]
|
||||
- [0x10C9E0, .rodata, 104730]
|
||||
- [0x10CA50, .rodata, 104940_len_dc0]
|
||||
- [0x10CAF0, .rodata, 105F90]
|
||||
- [0x10CB30, .rodata, 107830_len_e70]
|
||||
- [0x10CB70, .rodata, 1086a0_len_fc0]
|
||||
- [0x10CBD0, .rodata, 109660_len_1270]
|
||||
- [0x10CC00, .rodata, 10A230]
|
||||
- [0x10C880]
|
||||
- type: code
|
||||
start: 0x10CC10
|
||||
vram: 0x802EB3D0
|
||||
@ -3451,50 +3435,45 @@ segments:
|
||||
subsegments:
|
||||
- [0x714CF0, c]
|
||||
- [0x714DC0, data]
|
||||
- dir: battle/item/mushroom
|
||||
- name: mushroom
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x715850
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x715850, c, lib]
|
||||
- [0x715E50, c, mushroom] # DUMMY ROM
|
||||
- [0x715E50, .data, lib]
|
||||
- [0x71640C, .data, mushroom]
|
||||
- dir: battle/item/fire_flower
|
||||
- [0x715850, c, mushroom] # TODO fix auto_all for .data
|
||||
- [0x715E50, .data, mushroom]
|
||||
- name: fire_flower
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x716C60
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x716C60, c, lib]
|
||||
- [0x717060, c, fire_flower] # DUMMY ROM
|
||||
- [0x717060, .data, lib]
|
||||
- [0x71761C, .data, fire_flower]
|
||||
- [0x716C60, c, fire_flower]
|
||||
- [0x717060, .data, fire_flower]
|
||||
- dir: battle/item/dusty_hammer
|
||||
type: code
|
||||
start: 0x7179D0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subsegments:
|
||||
- [0x7179D0, c, lib]
|
||||
- [0x7179D0, c, lib] # TODO consolidate into one file and add image to data
|
||||
- [0x717C10, c, dusty_hammer] # DUMMY ROM
|
||||
- [0x717C10, .data, lib]
|
||||
- [0x7181D0, ci4, dusty_hammer, 32, 32]
|
||||
- [0x7183D0, palette, dusty_hammer]
|
||||
- [0x7183F0, .data, dusty_hammer]
|
||||
- dir: battle/item/pow_block
|
||||
- name: pow_block
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x718850
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x718850, c, lib]
|
||||
- [0x718BF0, .data, lib]
|
||||
- [0x7191AC, .data, pow_block]
|
||||
- [0x718850, c, pow_block]
|
||||
- [0x718BF0, .data, pow_block]
|
||||
- dir: battle/item/pebble
|
||||
type: code
|
||||
start: 0x719970
|
||||
@ -3506,56 +3485,51 @@ segments:
|
||||
- [0x71A170, ci4, pebble, 32, 32]
|
||||
- [0x71A370, palette, pebble]
|
||||
- [0x71A390, .data, pebble]
|
||||
- dir: battle/item/volt_shroom
|
||||
- name: volt_shroom
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x71A7F0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x71A7F0, c, lib]
|
||||
- [0x71AA70, .data, lib]
|
||||
- [0x71B02C, .data, volt_shroom]
|
||||
- dir: battle/item/thunder_rage
|
||||
- [0x71A7F0, c, volt_shroom]
|
||||
- [0x71AA70, .data, volt_shroom]
|
||||
- name: thunder_rage
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x71B1A0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x71B1A0, c, lib]
|
||||
- [0x71B640, .data, lib]
|
||||
- [0x71BBFC, .data, thunder_rage]
|
||||
- dir: battle/item/snowman_doll
|
||||
- [0x71B1A0, c, thunder_rage]
|
||||
- [0x71B640, .data, thunder_rage]
|
||||
- name: snowman_doll
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x71BE30
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x71BE30, c, lib]
|
||||
- [0x71C270, .data, lib]
|
||||
- [0x71C82C, .data, snowman_doll]
|
||||
- dir: battle/item/dried_shroom
|
||||
- [0x71BE30, c, snowman_doll]
|
||||
- [0x71C270, .data, snowman_doll]
|
||||
- name: dried_shroom
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x71CCE0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x71CCE0, c, lib]
|
||||
- [0x71D010, .data, lib]
|
||||
- [0x71D5DC, .data, dried_shroom]
|
||||
- dir: battle/item/shooting_star
|
||||
- [0x71CCE0, c, dried_shroom]
|
||||
- [0x71D010, .data, dried_shroom]
|
||||
- name: shooting_star
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x71D770
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x71D770, c, lib]
|
||||
- [0x71DCC0, .data, lib]
|
||||
- [0x71E27C, .data, shooting_star]
|
||||
- [0x71D770, c, shooting_star]
|
||||
- [0x71DCC0, .data, shooting_star]
|
||||
- dir: battle/item/sleepy_sheep
|
||||
type: code
|
||||
start: 0x71E650
|
||||
@ -3572,107 +3546,97 @@ segments:
|
||||
- [0x720580, palette, sleepy_sheep3]
|
||||
- [0x7205A0, .data, sleepy_sheep]
|
||||
- [0x7214D8, .rodata, lib]
|
||||
- dir: battle/item/stone_cap
|
||||
- name: stone_cap
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x7215A0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x7215A0, c, lib]
|
||||
- [0x721970, .data, lib]
|
||||
- [0x721F2C, .data, stone_cap]
|
||||
- dir: battle/item/tasty_tonic
|
||||
- [0x7215A0, c, stone_cap]
|
||||
- [0x721970, .data, stone_cap]
|
||||
- name: tasty_tonic
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x722000
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x722000, c, lib]
|
||||
- [0x7222D0, .data, lib]
|
||||
- [0x72289C, .data, tasty_tonic]
|
||||
- dir: battle/item/thunder_bolt
|
||||
- [0x722000, c, tasty_tonic]
|
||||
- [0x7222D0, .data, tasty_tonic]
|
||||
- name: thunder_bolt
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x722B40
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x722B40, c, lib]
|
||||
- [0x722FE0, .data, lib]
|
||||
- [0x72359C, .data, thunder_bolt]
|
||||
- dir: battle/item/ultra_shroom
|
||||
- [0x722B40, c, thunder_bolt]
|
||||
- [0x722FE0, .data, thunder_bolt]
|
||||
- name: ultra_shroom
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x723780
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x723780, c, lib]
|
||||
- [0x723AB0, .data, lib]
|
||||
- [0x72407C, .data, ultra_shroom]
|
||||
- dir: battle/item/unknown_item
|
||||
- [0x723780, c, ultra_shroom]
|
||||
- [0x723AB0, .data, ultra_shroom]
|
||||
- name: unknown_item
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x724240
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x724240, c, lib]
|
||||
- [0x724570, .data, lib]
|
||||
- [0x724B3C, .data, unknown_item]
|
||||
- dir: battle/item/super_soda
|
||||
- [0x724240, c, unknown_item]
|
||||
- [0x724570, .data, unknown_item]
|
||||
- name: super_soda
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x724CE0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x724CE0, c, lib]
|
||||
- [0x725210, .data, lib]
|
||||
- [0x7257CC, .data, super_soda]
|
||||
- dir: battle/item/hustle_drink
|
||||
- [0x724CE0, c, super_soda]
|
||||
- [0x725210, .data, super_soda]
|
||||
- name: hustle_drink
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x725F60
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x725F60, c, lib]
|
||||
- [0x726240, .data, lib]
|
||||
- [0x7267FC, .data, hustle_drink]
|
||||
- dir: battle/item/stop_watch
|
||||
- [0x725F60, c, hustle_drink]
|
||||
- [0x726240, .data, hustle_drink]
|
||||
- name: stop_watch
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x726DD0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x726DD0, c, lib]
|
||||
- [0x727120, .data, lib]
|
||||
- [0x7276EC, .data, stop_watch]
|
||||
- dir: battle/item/dizzy_dial
|
||||
- [0x726DD0, c, stop_watch]
|
||||
- [0x727120, .data, stop_watch]
|
||||
- name: dizzy_dial
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x727910
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x727910, c, lib]
|
||||
- [0x727CE0, .data, lib]
|
||||
- [0x72829C, .data, dizzy_dial]
|
||||
- [0x7285D0, .rodata, lib]
|
||||
- dir: battle/item/please_come_back
|
||||
- [0x727910, c, dizzy_dial]
|
||||
- [0x727CE0, .data, dizzy_dial]
|
||||
- [0x7285D0, .rodata, dizzy_dial]
|
||||
- name: please_come_back
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x7285E0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x7285E0, c, lib]
|
||||
- [0x728820, .data, lib]
|
||||
- [0x728DDC, .data, please_come_back]
|
||||
- [0x7285E0, c, please_come_back]
|
||||
- [0x728820, .data, please_come_back]
|
||||
- dir: battle/item/egg_missile
|
||||
type: code
|
||||
start: 0x728EC0
|
||||
@ -3701,16 +3665,15 @@ segments:
|
||||
- [0x72B130, ci4, insecticide_herb, 32, 32]
|
||||
- [0x72B330, palette, insecticide_herb]
|
||||
- [0x72B350, .data, insecticide_herb]
|
||||
- dir: battle/item/fright_jar
|
||||
- name: fright_jar
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x72B910
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x72B910, c, lib]
|
||||
- [0x72BC60, .data, lib]
|
||||
- [0x72C22C, .data, fright_jar]
|
||||
- [0x72B910, c, fright_jar]
|
||||
- [0x72BC60, .data, fright_jar]
|
||||
- dir: battle/item/mystery
|
||||
type: code
|
||||
start: 0x72C5B0
|
||||
@ -3723,26 +3686,24 @@ segments:
|
||||
- [0x72D6C0, palette, mystery]
|
||||
- [0x72D6E0, .data, mystery]
|
||||
- [0x72DB50, .rodata, lib]
|
||||
- dir: battle/item/repel_gel
|
||||
- name: repel_gel
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x72DB70
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x72DB70, c, lib]
|
||||
- [0x72DE00, .data, lib]
|
||||
- [0x72E3CC, .data, repel_gel]
|
||||
- dir: battle/item/life_shroom
|
||||
- [0x72DB70, c, repel_gel]
|
||||
- [0x72DE00, .data, repel_gel]
|
||||
- name: life_shroom
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x72E530
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x72E530, c, lib]
|
||||
- [0x72EA20, .data, lib]
|
||||
- [0x72EFEC, .data, life_shroom]
|
||||
- [0x72E530, c, life_shroom]
|
||||
- [0x72EA20, .data, life_shroom]
|
||||
- dir: battle/item/coconut
|
||||
type: code
|
||||
start: 0x72F720
|
||||
@ -3754,16 +3715,15 @@ segments:
|
||||
- [0x72FF20, ci4, coconut, 32, 32]
|
||||
- [0x730120, palette, coconut]
|
||||
- [0x730140, .data, coconut]
|
||||
- dir: battle/item/electro_pop
|
||||
- name: electro_pop
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x7305A0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x7305A0, c, lib]
|
||||
- [0x730AE0, .data, lib]
|
||||
- [0x73109C, .data, electro_pop]
|
||||
- [0x7305A0, c, electro_pop]
|
||||
- [0x730AE0, .data, electro_pop]
|
||||
- dir: battle/item/strange_cake
|
||||
type: code
|
||||
start: 0x731300
|
||||
@ -3780,16 +3740,15 @@ segments:
|
||||
- [0x732AB0, palette, strange_cake3]
|
||||
- [0x732AD0, .data, strange_cake]
|
||||
- [0x7330B0, .rodata, lib]
|
||||
- dir: battle/item/food
|
||||
- name: food
|
||||
dir: battle/item
|
||||
type: code
|
||||
start: 0x7330D0
|
||||
vram: 0x802A1000
|
||||
overlay: True
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x7330D0, c, lib]
|
||||
- [0x733700, .data, lib]
|
||||
- [0x733CBC, .data, food]
|
||||
- [0x7330D0, c, food]
|
||||
- [0x733700, .data, food]
|
||||
- dir: battle/move/hammer
|
||||
type: code
|
||||
start: 0x7345A0
|
||||
@ -4803,7 +4762,6 @@ segments:
|
||||
- [0x8DB2F0, data]
|
||||
- [0x8DC270, data]
|
||||
- [0x8DE400, data]
|
||||
- [0x8DFB88, data]
|
||||
- [0x8DFBB0, data]
|
||||
- [0x8E0190, data]
|
||||
- [0x8EB190]
|
||||
@ -6022,7 +5980,6 @@ segments:
|
||||
- [0x9C8350, data]
|
||||
- [0x9C8920, data]
|
||||
- [0x9C89E0, data]
|
||||
- [0x9CB328, data]
|
||||
- [0x9D4EF0, data]
|
||||
- [0x9D5110, data]
|
||||
- [0x9D5BF0, data]
|
||||
@ -7212,7 +7169,6 @@ segments:
|
||||
- [0xAF7950, c]
|
||||
- [0xAF7C00, c]
|
||||
- [0xAF8660, data]
|
||||
- [0xAF8808, data]
|
||||
- [0xAF8B40, data]
|
||||
- [0xAF9050, data]
|
||||
- [0xAF9460, data]
|
||||
|
Loading…
Reference in New Issue
Block a user