Loading

Paste #pi7dgzowb

  1. Check first slot:                                                           Check second slot:
  2. is_gs_slot  = false // GS slot isn't selected                               silver:
  3. is_gs_slot  = true  // GS slot is selected, and thus, unmovable             IsEditable  = false // human player in this slot, or outside slot range of 1-15, and thus, unmovable
  4.  
  5. invalid_slot= false // nothing isn't selected                               orange:
  6. invalid_slot= true  // nothing is selected, and thus, unmovable             IsEditable  = true  // slot could be orange, red or green
  7.                                                                             IsValidID   = false // slot is orange, and thus, first and second slots are movable
  8. orange:
  9. IsEditable  = true  // slot could be orange, red or green                   green:
  10. IsValidID   = false // slot is orange, and thus, check second slot          IsEditable  = true  // slot could be orange, red or green
  11.                                                                             IsValidID   = true  // slot could be red or green
  12. green:                                                                      IsValidAiID = true  // slot could be red or green
  13. IsEditable  = true  // slot could be orange, red or green                   IsDead      = false // slot is green, and thus, unmovable
  14. IsValidID   = true  // slot could be red or green
  15. IsValidAiID = true  // slot could be red or green                           red:
  16. IsDead      = false // slot is green, and thus, unmovable                   IsEditable  = true  // slot could be orange, red or green
  17.                                                                             IsValidID   = true  // slot could be red or green
  18. red:                                                                        IsValidAiID = true  // slot could be red or green
  19. IsEditable  = true  // slot could be orange, red or green                   IsDead      = true  // slot is red, and thus, first and second slots are movable
  20. IsValidID   = true  // slot could be red or green
  21. IsValidAiID = true  // slot could be red or green
  22. IsDead      = true  // slot is red, and thus, check second slot

Comments