pgetでテキストに保存するとなぜか一番最初に255,255,255となってしまいます
何が原因かわかりませんどうしたらいいでしょうか?
if k&256 : {
y_cnt=0
repeat 32
repeat 32
pget ((x2*32)+cnt),((y2*32)+y_cnt)
touroku_chek_dot_r=ginfo_r
touroku_chek_dot_g=ginfo_g
touroku_chek_dot_b=ginfo_b
touroku_chek_dot_r=str(touroku_chek_dot_r) : mojisuu=strlen(touroku_chek_dot_r)
mojisuusagaku=3-mojisuu
if mojisuusagaku=1 : touroku_chek_dot_r=touroku_chek_dot_r+"a"
if mojisuusagaku=2 : touroku_chek_dot_r=touroku_chek_dot_r+"a"+"a"
touroku_chek_dot_g=str(touroku_chek_dot_g) : mojisuu=strlen(touroku_chek_dot_g)
mojisuusagaku=3-mojisuu
if mojisuusagaku=1 : touroku_chek_dot_g=touroku_chek_dot_g+"a"
if mojisuusagaku=2 : touroku_chek_dot_g=touroku_chek_dot_g+"a"+"a"
touroku_chek_dot_b=str(touroku_chek_dot_b) : mojisuu=strlen(touroku_chek_dot_b)
mojisuusagaku=3-mojisuu
if mojisuusagaku=1 : touroku_chek_dot_b=touroku_chek_dot_b+"a"
if mojisuusagaku=2 : touroku_chek_dot_b=touroku_chek_dot_b+"a"+"a"
touroku_sansyoku=touroku_chek_dot_r+touroku_chek_dot_g+touroku_chek_dot_b
touroku_sansyoku=str(touroku_sansyoku)
touroku_save=touroku_sansyoku
touroku_size=strlen(touroku_sansyoku)
bsave "kurikku_map.txt",touroku_sansyoku,9,9*y_cnt
loop
y_cnt+
loop
}