MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / SysEvent

Method SysEvent

src/SB/Game/zNPCTypeDutchman.cpp:1193–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193S32 zNPCDutchman::SysEvent(xBase* from, xBase* to, U32 toEvent, const F32* toParam,
1194 xBase* toParamWidget, S32* handled)
1195{
1196 // Was going to try this function, but literally can't find 0x1d9
1197 if (toEvent == 0x1d9)
1198 {
1199 psy_instinct->GoalSet('NGM=', 1);
1200 }
1201 else
1202 {
1203 if ((0x1d8 < toEvent) || (toEvent != 0x1b5))
1204 {
1205 handled = 0;
1206 return zNPCCommon::SysEvent(from, to, toEvent, toParam, toParamWidget, handled);
1207 }
1208 start_fight();
1209 }
1210 return 1;
1211}
1212
1213void zNPCDutchman::Render()
1214{

Callers

nothing calls this directly

Calls 2

GoalSetMethod · 0.80
SysEventFunction · 0.50

Tested by

no test coverage detected