mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Tidied up semicolon use, refactored random dungeon generation code, fixed visual bug in Day Care debug screen
This commit is contained in:
@@ -117,8 +117,10 @@ class PokemonReadyMenu_Scene
|
||||
if @index[1]>=@itemcommands.length && @itemcommands.length>0
|
||||
@index[1] = @itemcommands.length-1
|
||||
end
|
||||
if @index[2]==0 && @movecommands.length==0; @index[2] = 1
|
||||
elsif @index[2]==1 && @itemcommands.length==0; @index[2] = 0
|
||||
if @index[2]==0 && @movecommands.length==0
|
||||
@index[2] = 1
|
||||
elsif @index[2]==1 && @itemcommands.length==0
|
||||
@index[2] = 0
|
||||
end
|
||||
@viewport = Viewport.new(0,0,Graphics.width,Graphics.height)
|
||||
@viewport.z = 99999
|
||||
|
||||
Reference in New Issue
Block a user