2#include "sprite/npc/WorldGoombario.h"
4#include "../src/world/partners.h"
5#include "message_ids.h"
8#define NAMESPACE world_goombario
225 #define USE_STATE functionTemp[0]
226 #define VAR_MSG varTable[0]
227 #define VAR_SKIP varTable[1]
252 switch (
script->USE_STATE) {
268 script->functionTemp[1] = 3;
275 if (
script->functionTemp[1] != 0) {
276 script->functionTemp[1]--;
311 switch (entityType) {
417 switch (
script->USE_STATE) {
BSS s32 PopupMenu_SelectedIndex
@ ENTITY_TYPE_HAMMER1_BLOCK
@ ENTITY_TYPE_TRUMPET_PLANT
@ ENTITY_TYPE_SINGLE_TRIGGER_BLOCK
@ ENTITY_TYPE_BELLBELL_PLANT
@ ENTITY_TYPE_SCRIPT_SPRING
@ ENTITY_TYPE_PINK_FLOWER
@ ENTITY_TYPE_BOMBABLE_ROCK
@ ENTITY_TYPE_RED_ARROW_SIGNS
@ ENTITY_TYPE_HAMMER3_BLOCK
@ ENTITY_TYPE_HUGE_BLUE_SWITCH
@ ENTITY_TYPE_BLUE_SWITCH
@ ENTITY_TYPE_GREEN_STOMP_SWITCH
@ ENTITY_TYPE_CYMBAL_PLANT
@ ENTITY_TYPE_HAMMER2_BLOCK
@ ENTITY_TYPE_HAMMER3_BLOCK_TINY
@ ENTITY_TYPE_MULTI_COIN_BRICK
@ ENTITY_TYPE_SIMPLE_SPRING
@ ENTITY_TYPE_SPINNING_FLOWER
@ ENTITY_TYPE_PADLOCK_RED_FACE
@ ENTITY_TYPE_BRICK_BLOCK
@ ENTITY_TYPE_HAMMER2_BLOCK_TINY
@ ENTITY_TYPE_MULTI_TRIGGER_BLOCK
@ ENTITY_TYPE_HAMMER1_BLOCK_TINY
@ ENTITY_TYPE_PADLOCK_RED_FRAME
@ ENTITY_TYPE_PADLOCK_BLUE_FACE
@ ENTITY_TYPE_BLUE_WARP_PIPE
@ ENTITY_TYPE_YELLOW_BLOCK
@ ENTITY_TYPE_BOARDED_FLOOR
@ ENTITY_TYPE_WOODEN_CRATE
@ ENTITY_TYPE_STAR_BOX_LAUNCHER
@ PA_FLAG_SPEECH_PROMPT_AVAILABLE
(...) prompt
@ PA_FLAG_INTERACT_PROMPT_AVAILABLE
! prompt
@ NPC_FLAG_IGNORE_WORLD_COLLISION
@ NPC_FLAG_IGNORE_PLAYER_COLLISION
@ NPC_FLAG_IGNORE_CAMERA_FOR_YAW
Entity * get_entity_by_index(s32 index)
Trigger * get_trigger_by_id(s32 triggerID)
void disable_npc_blur(Npc *npc)
void partner_walking_update_motion(Npc *partner)
void partner_clear_player_tracking(Npc *partner)
s32 disable_player_input(void)
void partner_walking_update_player_tracking(Npc *partner)
void close_status_bar(void)
s32 enable_player_input(void)
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by)
u32 get_entity_type(s32 arg0)
void partner_walking_enable(Npc *partner, s32 val)
void set_time_freeze_mode(s32)
Time freeze modes: 0: none 1: NPCs move, can't be interacted with 2: NPCs don't move,...
void sin_cos_rad(f32 rad, f32 *outSinTheta, f32 *outCosTheta)
s32 cancel_current_message(void)
#define SpeakToPlayer(ARGS...)
Enemy * get_enemy(s32 npcID)
Looks for an enemy matching the specified npcID.
Npc * get_npc_unsafe(s32 npcID)
s32 partner_init_get_out(Npc *npc)
s32 partner_init_put_away(Npc *partner)
s32 partner_put_away(Npc *partner)
s32 partner_get_out(Npc *partner)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define COLLISION_WITH_ENTITY_BIT
#define EndIf
Marks the end of an if statement or an else block.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define COLLISION_WITH_NPC_BIT
#define Return
Kills the current EVT thread.
union MapSettings::@48 tattle
MapSettings * get_current_map_settings(void)
union Trigger::@1 location
Entity * TweesterTouchingPartner
PartnerStatus gPartnerStatus
PlayerStatus gPlayerStatus
EvtScript EVS_WorldGoombario_UseAbility
EvtScript EVS_WorldGoombario_TakeOut
s32 N can_open_menus(Npc *goombario)
BSS s32 WorldTattleInteractionID
s32 N get_trigger_tattle(s32 tattleColliderID)
EvtScript EVS_WorldGoombario_Update
void N pre_battle(Npc *goombario)
SpeechBubbleData * SpeechBubblePtr
void N try_cancel_tweester(Npc *goombario)
void N init(Npc *goombario)
EvtScript EVS_WorldGoombario_PutAway