mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
fixes regi rock/steel puzzle switches remaining pressed after leaving the room
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -616,6 +616,15 @@ def validate_regirock_ice_puzzle(solution)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def unpress_all_regirock_steel_switches()
|
||||||
|
switch_ids = [75,77,76,67, 74,68, 73,72,70,69]
|
||||||
|
regi_map = 813
|
||||||
|
switch_ids.each do |event_id|
|
||||||
|
pbSetSelfSwitch(event_id,"A",false,regi_map)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
def validate_regirock_steel_puzzle()
|
def validate_regirock_steel_puzzle()
|
||||||
expected_pressed_switches = [75,77,74,68,73,69]
|
expected_pressed_switches = [75,77,74,68,73,69]
|
||||||
expected_unpressed_switches = [76,67,72,70]
|
expected_unpressed_switches = [76,67,72,70]
|
||||||
@@ -623,7 +632,6 @@ def validate_regirock_steel_puzzle()
|
|||||||
74,68,
|
74,68,
|
||||||
73,72,70,69]
|
73,72,70,69]
|
||||||
|
|
||||||
|
|
||||||
pressed_switches =[]
|
pressed_switches =[]
|
||||||
unpressed_switches = []
|
unpressed_switches = []
|
||||||
switch_ids.each do |switch_id|
|
switch_ids.each do |switch_id|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user