From: Jason S. Ninneman Date: Sat, 1 Jul 2017 13:18:24 +0000 (-0700) Subject: Add a DEMOTE_WORD() macro. X-Git-Tag: takebird~158 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F177%2Fhead;p=open-adventure.git Add a DEMOTE_WORD() macro. --- diff --git a/advent.h b/advent.h index 670d7e9..cf049f4 100644 --- a/advent.h +++ b/advent.h @@ -59,6 +59,7 @@ #define ACTION_WORD(n) ((n) + 2000) #define SPECIAL_WORD(n) ((n) + 3000) #define PROMOTE_WORD(n) ((n) + 1000) +#define DEMOTE_WORD(n) ((n) - 1000) enum bugtype { SPECIAL_TRAVEL_500_GT_L_GT_300_EXCEEDS_GOTO_LIST,