mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Remapped JumpUp/JumpDown controls, replaced and/or/not, fixed typo in previous commit
This commit is contained in:
@@ -17,7 +17,7 @@ class Game_Switches
|
||||
# switch_id : switch ID
|
||||
#-----------------------------------------------------------------------------
|
||||
def [](switch_id)
|
||||
if switch_id<=5000 and @data[switch_id]!=nil
|
||||
if switch_id<=5000 && @data[switch_id]!=nil
|
||||
return @data[switch_id]
|
||||
else
|
||||
return false
|
||||
|
||||
@@ -17,7 +17,7 @@ class Game_Variables
|
||||
# variable_id : variable ID
|
||||
#-----------------------------------------------------------------------------
|
||||
def [](variable_id)
|
||||
if variable_id<=5000 and @data[variable_id]!=nil
|
||||
if variable_id<=5000 && @data[variable_id]!=nil
|
||||
return @data[variable_id]
|
||||
else
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user