Loading

Paste #pjyzssm5y

  1. switch(FEAT_ROADVEHS, SELF, switch_pickup0, [
  2.     STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)
  3. ]) {
  4.     default: spriteset_truck;
  5. }
  6.  
  7. switch(FEAT_ROADVEHS, SELF, switch_pickup1_old, [
  8.     STORE_TEMP(PALETTE_CC_BROWN, 0x100)
  9. ]) {
  10.     default: spritegroup_box;
  11. }
  12.  
  13. switch(FEAT_ROADVEHS, SELF, switch_pickup1_middle, [
  14.     STORE_TEMP(PALETTE_CC_GREY, 0x100)
  15. ]) {
  16.     default: spritegroup_box;
  17. }
  18.  
  19. switch(FEAT_ROADVEHS, SELF, switch_pickup1_new, [
  20.     STORE_TEMP(PALETTE_CC_WHITE, 0x100)
  21. ]) {
  22.     default: spritegroup_box;
  23. }
  24.  
  25. switch(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;
  31. }
  32.  
  33. switch(FEAT_ROADVEHS, SELF, switch_pickup, [
  34.      getbits(extra_callback_info1, 8, 8)    
  35. ]) {
  36.      0:  switch_pickup0;
  37.      1:  switch_pickup1;
  38. }

Version history

Revision # Author Created at
pgtcthqyg Anonymous 20 Mar 2018, 20:16:24 UTC Diff

Comments