Loading

asdf

  1. switch (FEAT_TRAINS,SELF, maglevhopper_layer1_grey, [
  2.   STORE_TEMP(PALETTE_GREY, 0x100)
  3. ]){
  4.   return spritegroup_maglevhopper_cargo_layer;
  5. }
  6.  
  7. switch (FEAT_TRAINS,SELF, maglevhopper_layer1_dark_blue, [
  8.   STORE_TEMP(PALETTE_DARK_BLUE, 0x100)
  9. ]){
  10.   return spritegroup_maglevhopper_cargo_layer;
  11. }
  12.  
  13. switch (FEAT_TRAINS,SELF, maglevhopper_layer1, [
  14.   cargo_type
  15. ]){
  16.   STEL: return maglevhopper_layer1_grey;
  17.   default: return maglevhopper_layer1_darkblue;
  18. }
  19.  
  20. switch (FEAT_TRAINS,SELF, maglevhopper_layer0, [
  21.   STORE_TEMP(CB_FLAG_MORE_SPRITES + PALETTE_USE_DEFAULT, 0x100)
  22. ]){
  23.   return spritegroup_maglevhopper_wagon_layer;
  24. }
  25.  
  26. switch (FEAT_TRAINS,SELF, maglevhopper_switch, [
  27.   getbits(extra_callback_info1, 8, 8)
  28. ]){
  29.   0: maglevhopper_layer0;
  30.   return maglevhopper_layer1;
  31. }

Version history

Revision # Author Created at
ptqcmmq9y Anonymous 27 May 2018, 10:49:28 UTC Diff

Comments