Skip to Content
The Alchemy Project

include/scene/catch_nut.h

The Nuts floating in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's Palace.

Included by crossbone_isle.c, kalay.c, kolima_forest_glade.c, lunpa.c, mccoy_palace_grounds.c, mogall_forest.c and vale.c.

Functions

NameDescription
static inline voidscCatchNut (Sint32 actorId, Sint32 flag)Catch on a floating Nut: the hand takes it off the map, its flag is set so it stays gone, and the leader holds it up and the party gets it.

Description

The Nuts floating in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's Palace.

Functions in detail

scCatchNut

static inline void scCatchNut(Sint32 actorId, Sint32 flag)

Catch on a floating Nut: the hand takes it off the map, its flag is set so it stays gone, and the leader holds it up and the party gets it.

References fdItemDisplayShowItem(), fdPartyInventoryGiveItem(), fdScriptEnd(), fdScriptStart(), gmFlagSet() and Sint32.

Referenced by scCrossboneIsleCatchNut(), scKalayCatchTunnelEntranceNut(), scKolimaForestGladeCatchNut(), scLunpaCatchFloatingNut(), scMcCoyPalaceGroundsCatchFloatingNut(), scMogallForestCatchNut(), scValeCatchNut() and scValeCatchNutAfterKalay().

Definition at line 9 of file catch_nut.h.