mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixes bad interaction between clothes menu and regi puzzle
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
Graphics/CustomBattlers/local_sprites/*
|
||||
Graphics/Pokemon/FusionIcons/*
|
||||
Graphics/CustomBattlers/spritesheets
|
||||
Graphics/CustomBattlers/*
|
||||
Data/sprites/*
|
||||
Data/VERSION
|
||||
infinitefusion.sh
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -288,7 +288,7 @@ VAR_LATEST_CONSTELLATION=319
|
||||
VAR_TRAINER_CARD_BACKGROUND_PRICE=329
|
||||
VAR_GALLERY_TEAM_FLAGS=330
|
||||
|
||||
|
||||
VAR_REGI_PUZZLE_SWITCH_PRESSED = 1122
|
||||
##############
|
||||
# COMMON EVENTS
|
||||
################
|
||||
|
||||
@@ -654,11 +654,11 @@ def validate_regirock_steel_puzzle()
|
||||
end
|
||||
|
||||
def registeel_ice_press_switch(letter)
|
||||
order = pbGet(1)
|
||||
order = pbGet(VAR_REGI_PUZZLE_SWITCH_PRESSED)
|
||||
solution = "ssBSBGG" # GGSBBss"
|
||||
registeel_ice_reset_switches() if !order.is_a?(String)
|
||||
order << letter
|
||||
pbSet(1, order)
|
||||
pbSet(VAR_REGI_PUZZLE_SWITCH_PRESSED, order)
|
||||
if order == solution
|
||||
echoln "OK"
|
||||
pbSEPlay("Evolution start", nil, 130)
|
||||
@@ -674,7 +674,7 @@ def registeel_ice_reset_switches()
|
||||
pbSetSelfSwitch(switch_id, "A", false)
|
||||
echoln "reset" + switch_id.to_s
|
||||
end
|
||||
pbSet(1, "")
|
||||
pbSet(VAR_REGI_PUZZLE_SWITCH_PRESSED, "")
|
||||
end
|
||||
|
||||
def regirock_steel_move_boulder()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user