mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Add some missing script defines
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#define LIB_INVEN_H
|
||||
|
||||
#include "define_lite.h"
|
||||
#define PID_BOTTLE_CAPS (41)
|
||||
|
||||
/**
|
||||
Inventory contents as temp array to be used in foreach
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
// Recognised modes for set_shader_mode and get_game_mode
|
||||
#define WORLDMAP (0x1)
|
||||
#define LOCALMAP (0x2) //No point hooking this: would always be 1 at any point at which scripts are running
|
||||
#define DIALOG (0x4)
|
||||
#define ESCMENU (0x8)
|
||||
#define SAVEGAME (0x10)
|
||||
@@ -125,6 +126,11 @@
|
||||
#define ATKTYPE_HOOKKICK (18)
|
||||
#define ATKTYPE_PIERCINGKICK (19)
|
||||
|
||||
//Some possible values for the 4th argument to hs_removeinvobj
|
||||
#define RMOBJ_DROP (0x49B875) //If the object is dropped manually by the player from the inventory screen
|
||||
#define RMOBJ_TRADE (0x47761D) //If the object is offered up as a trade
|
||||
#define RMOBJ_DROPMULTI (0x45C1CF) //When dropping a part of a stack (RMOBJ_DROP occures first)
|
||||
|
||||
// Return values for "typeof"
|
||||
#define VALTYPE_NONE (0) // not used yet
|
||||
#define VALTYPE_INT (1)
|
||||
|
||||
Reference in New Issue
Block a user