Advertisement
Guest User

Untitled

a guest
Jan 16th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.24 KB | None | 0 0
  1. # 16105: Sprite(1754, ff) <02>: 02:09:e0:89:7d:0d:20:ff:ff:ff:ff:0d:1a:20:01:00:00:00:0e:1a:20:80:00:00:00:0f:60:00:20:1f:00:00:00:12:1a:20:1e:00:00:00:0b:1a:20:01:00:00:00:0a:1a:20:12:00:00:00:0e:1a:20:81:00:00:00:0f:60:00:20:1f:00:00:00:12:1a:20:1d:00:00:00:0b:1a:20:01:00:00:00:0a:1a:20:0f:00:00:00:0e:1a:20:82:00:00:00...
  2. VarAction2(
  3.     feature=INDUSTRY_TILE,
  4.     ref_id=224,
  5.     related_scope=False,
  6.     ranges={0: Ref(224)},
  7.     default=Ref(224),
  8.     code='''
  9.        TEMP[128] = TEMP[13] ^ 1
  10.        TEMP[129] = (cmp(nearby_tile_slope, 30) & 1) * 18
  11.        TEMP[130] = (cmp(nearby_tile_slope, 29) & 1) * 15
  12.        TEMP[131] = (cmp(nearby_tile_slope, 27) & 1) * 17
  13.        TEMP[132] = (cmp(nearby_tile_slope, 23) & 1) * 16
  14.        TEMP[133] = min(cmp(nearby_tile_slope, 0), 1)
  15.        TEMP[134] = (min((cmp(nearby_tile_slope, 14) ^ 2), 1) & TEMP[133]) * nearby_tile_slope + TEMP[132] + TEMP[131] + TEMP[130] + TEMP[129] + 4164
  16.        TEMP[135] = minu(TEMP[13], 1)
  17.        TEMP[136] = (cmp(nearby_tile_slope, 30) & 1) * 18
  18.        TEMP[137] = (cmp(nearby_tile_slope, 29) & 1) * 15
  19.        TEMP[138] = (cmp(nearby_tile_slope, 27) & 1) * 17
  20.        TEMP[139] = (cmp(nearby_tile_slope, 23) & 1) * 16
  21.        TEMP[140] = min(cmp(nearby_tile_slope, 0), 1)
  22.        TEMP[141] = (min((cmp(nearby_tile_slope, 14) ^ 2), 1) & TEMP[140]) * nearby_tile_slope + TEMP[139] + TEMP[138] + TEMP[137] + TEMP[136] + 4164
  23.        TEMP[142] = TEMP[13] ^ 1
  24.        TEMP[143] = (cmp(nearby_tile_slope, 30) & 1) * 18
  25.        TEMP[144] = (cmp(nearby_tile_slope, 29) & 1) * 15
  26.        TEMP[145] = (cmp(nearby_tile_slope, 27) & 1) * 17
  27.        TEMP[146] = (cmp(nearby_tile_slope, 23) & 1) * 16
  28.        TEMP[147] = min(cmp(nearby_tile_slope, 0), 1)
  29.        TEMP[148] = (min((cmp(nearby_tile_slope, 14) ^ 2), 1) & TEMP[147]) * nearby_tile_slope + TEMP[146] + TEMP[145] + TEMP[144] + TEMP[143] + 4164
  30.        TEMP[149] = minu(TEMP[13], 1)
  31.        TEMP[150] = (cmp(nearby_tile_slope, 30) & 1) * 18
  32.        TEMP[151] = (cmp(nearby_tile_slope, 29) & 1) * 15
  33.        TEMP[152] = (cmp(nearby_tile_slope, 27) & 1) * 17
  34.        TEMP[153] = (cmp(nearby_tile_slope, 23) & 1) * 16
  35.        TEMP[154] = min(cmp(nearby_tile_slope, 0), 1)
  36.        TEMP[155] = (min((cmp(nearby_tile_slope, 14) ^ 2), 1) & TEMP[154]) * nearby_tile_slope + TEMP[153] + TEMP[152] + TEMP[151] + TEMP[150] + 4164
  37.        TEMP[156] = TEMP[15] ^ 1
  38.        TEMP[157] = TEMP[16] ^ 1
  39.        TEMP[158] = TEMP[17] ^ 1
  40.        TEMP[159] = TEMP[15] ^ 1
  41.        TEMP[160] = TEMP[16] ^ 1
  42.        TEMP[161] = TEMP[17] ^ 1
  43.        TEMP[162] = TEMP[15] ^ 1
  44.        TEMP[163] = TEMP[16] ^ 1
  45.        TEMP[164] = TEMP[17] ^ 1
  46.        TEMP[165] = TEMP[15] ^ 1
  47.        TEMP[166] = TEMP[16] ^ 1
  48.        TEMP[167] = TEMP[17] ^ 1
  49.        TEMP[168] = TEMP[15] ^ 1
  50.        TEMP[169] = TEMP[16] ^ 1
  51.        TEMP[170] = TEMP[17] ^ 1
  52.        TEMP[171] = TEMP[15] ^ 1
  53.        TEMP[172] = TEMP[16] ^ 1
  54.        TEMP[173] = TEMP[17] ^ 1
  55.        TEMP[174] = TEMP[15] ^ 1
  56.        TEMP[175] = TEMP[16] ^ 1
  57.        TEMP[176] = TEMP[17] ^ 1
  58.        TEMP[177] = TEMP[15] ^ 1
  59.        TEMP[178] = TEMP[16] ^ 1
  60.        TEMP[179] = TEMP[17] ^ 1
  61.        TEMP[180] = TEMP[15] ^ 1
  62.        TEMP[181] = TEMP[16] ^ 1
  63.        TEMP[182] = TEMP[17] ^ 1''',
  64. )
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement