Loading

Revision differences

Old revision #pgtcthqygNew revision #pjyzssm5y
4    default: spriteset_truck;  4    default: spriteset_truck;  
5}  5}  
6  6  
7switch(FEAT_ROADVEHS, SELF, switch_pickup1, [  7switch(FEAT_ROADVEHS, SELF, switch_pickup1_old, [
8    STORE_TEMP(PALETTE_CC_BROWN, 0x100)  8    STORE_TEMP(PALETTE_CC_BROWN, 0x100)  
9]) {  9]) {  
10    default: spritegroup_box;  10    default: spritegroup_box;  
  11}  
  12  
  13switch(FEAT_ROADVEHS, SELF, switch_pickup1_middle, [  
  14    STORE_TEMP(PALETTE_CC_GREY, 0x100)  
  15]) {  
  16    default: spritegroup_box;  
  17}  
  18  
  19switch(FEAT_ROADVEHS, SELF, switch_pickup1_new, [  
  20    STORE_TEMP(PALETTE_CC_WHITE, 0x100)  
  21]) {  
  22    default: spritegroup_box;  
  23}  
  24  
  25switch(FEAT_ROADVEHS, SELF, switch_pickup1, [  
  26    age_in_days  
  27]) {  
  28     0..499: switch_pickup1_new;  
  29  500..1000: switch_pickup1_middle;  
  30    default: switch_pickup1_old;  
11}  31}  
12  32  
13switch(FEAT_ROADVEHS, SELF, switch_pickup, [  33switch(FEAT_ROADVEHS, SELF, switch_pickup, [  
14     getbits(extra_callback_info1, 8, 8)       34     getbits(extra_callback_info1, 8, 8)       
15]) {  35]) {  
16     0:  switch_pickup0;  36     0:  switch_pickup0;  
17     1:  switch_pickup1;       17     1:  switch_pickup1;
18} 38}