Maximum non-cheating is 40 missiles, which fits in a signed 8 bit value. Maximum cheating is 200 missiles, which fits in an unsigned 8 bit value.
Change: #ifdef D1 x; #endif ... #ifdef D1 y; #endif to: #ifdef D1 x; y; #endif ...