start working on trainer see

This commit is contained in:
DizzyEggg
2017-12-18 19:35:50 +01:00
parent 6a674e1e83
commit a612ef12a0
8 changed files with 252 additions and 228 deletions
+1
View File
@@ -78,6 +78,7 @@ u8 FieldObjectClearAnimIfSpecialAnimFinished(struct MapObject *);
u8 GetFieldObjectIdByXYZ(u16 x, u16 y, u8 z);
void npc_set_running_behaviour_etc(struct MapObject *mapObject, u8 animPattern);
u8 npc_running_behaviour_by_direction(u8 direction);
const u8 *GetFieldObjectScriptPointerByFieldObjectId(u8 mapObjectId);
// Exported data declarations
+1
View File
@@ -2,5 +2,6 @@
#define GUARD_POKENAV_H
bool8 sub_81D5C18(void);
const u8 *sub_81D62AC(void);
#endif //GUARD_POKENAV_H
+1 -1
View File
@@ -4,7 +4,7 @@
struct ApproachingTrainer
{
u8 mapObjectId;
u8 radius;
u8 radius; // plus 1
u8 field_2;
u8 field_3;
const u8 *trainerScriptPtr;