mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Tidying and rearranging
This commit is contained in:
@@ -82,9 +82,16 @@ class SpriteWindow_DebugVariables < Window_DrawableCommand
|
||||
name = $data_system.switches[index+1]
|
||||
codeswitch = (name[/^s\:/])
|
||||
val = (codeswitch) ? (eval($~.post_match) rescue nil) : $game_switches[index+1]
|
||||
if val==nil; status = "[-]"; colors = 0; codeswitch = true
|
||||
elsif val; status = "[ON]"; colors = 2
|
||||
else; status = "[OFF]"; colors = 1
|
||||
if val==nil
|
||||
status = "[-]"
|
||||
colors = 0
|
||||
codeswitch = true
|
||||
elsif val
|
||||
status = "[ON]"
|
||||
colors = 2
|
||||
else
|
||||
status = "[OFF]"
|
||||
colors = 1
|
||||
end
|
||||
else
|
||||
name = $data_system.variables[index+1]
|
||||
|
||||
@@ -550,7 +550,7 @@ def pbSaveTownMap
|
||||
f.write("\r\n")
|
||||
for i in 0...mapdata.length
|
||||
map = mapdata[i]
|
||||
return if !map
|
||||
next if !map
|
||||
f.write("\#-------------------------------\r\n")
|
||||
f.write(sprintf("[%d]\r\n",i))
|
||||
rname = pbGetMessage(MessageTypes::RegionNames,i)
|
||||
|
||||
@@ -3093,8 +3093,8 @@ class PointPath
|
||||
return ret
|
||||
end
|
||||
step=1.0/frames
|
||||
t=0.0;
|
||||
for i in 0..frames+1
|
||||
t=0.0
|
||||
(frames+2).times do
|
||||
point=pointOnPath(t)
|
||||
if roundValues
|
||||
ret.addPoint(point[0].round,point[1].round)
|
||||
|
||||
Reference in New Issue
Block a user