Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Viperio19 committed Dec 9, 2024
1 parent 070b54d commit 94d81e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

#define LOCATION_EVENT(locationID, trainerID, eventType) ((locationID << 16) | ((trainerID & 0x3ff) << 6) | (eventType & 0x3f))

#define LOCATION_EVENT_TYPE(locationEvent) (locationEvent & 0x3f)
#define LOCATION_EVENT_TRAINER_ID(locationEvent) ((locationEvent >> 6) & 0x3ff)
#define LOCATION_EVENT_TYPE(locationEvent) (locationEvent & 0x3f)
#define LOCATION_EVENT_TRAINER_ID(locationEvent) ((locationEvent >> 6) & 0x3ff)
#define LOCATION_EVENT_LOCATION_ID(locationEvent) ((locationEvent >> 16) & 0xffff)
#define LOCATION_EVENT_ITEM(locationEvent) ((locationEvent >> 16) & 0xffff)
#define LOCATION_EVENT_ITEM(locationEvent) ((locationEvent >> 16) & 0xffff)

#define MAX_JOURNAL_ENTRIES 10

Expand Down

0 comments on commit 94d81e0

Please sign in to comment.