Add some missing script defines

This commit is contained in:
phobos2077
2023-05-08 02:53:31 +02:00
parent 00b85bec49
commit a05207cc83
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -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
+6
View File
@@ -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)