use #L and #R in place of 256 and 512, respectively (can probably RGB(#L,#L-R,#L-R))
Calculations longer than like 4 characters used more than once should be precalculated and assigned to a variable e.g. Z=G*FLOOR(I/G)FOR J=G TO Z+(G-1)
Since no colon is needed after numbers, consecutive variable assignments can become F=.C=222D=-D:
0そうだね 未プレイ