Skip to content

Commit

Permalink
Merge pull request #1584 from AlmostSeagull/seed-gen-bug-fix
Browse files Browse the repository at this point in the history
minor bug fixes
  • Loading branch information
AlmostSeagull authored Aug 22, 2023
2 parents 09990b2 + 0c00199 commit e5b3efd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions randomizer/Lists/CBLocations/FranticFactoryCBLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,7 @@
speed=4,
konglist=[Kongs.chunky],
region=Regions.RandD,
logic=lambda l: l.punch and l.triangle,
points=[[5086, 1580, 1562], [4830, 1560, 1948]],
),
Balloon(
Expand Down
4 changes: 2 additions & 2 deletions randomizer/Prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
Items.Trombone: 3,
Items.Saxophone: 3,
Items.Triangle: 3,
Items.ProgressiveSlam: [5, 7],
Items.ProgressiveSlam: [0, 5, 7],
Items.ProgressiveAmmoBelt: [3, 5],
Items.ProgressiveInstrumentUpgrade: [5, 7, 9],
}

ProgressiveMoves = {Items.ProgressiveSlam: 2, Items.ProgressiveAmmoBelt: 2, Items.ProgressiveInstrumentUpgrade: 3}
ProgressiveMoves = {Items.ProgressiveSlam: 3, Items.ProgressiveAmmoBelt: 2, Items.ProgressiveInstrumentUpgrade: 3}


def CompleteVanillaPrices():
Expand Down
6 changes: 6 additions & 0 deletions ui/rando_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ def disable_move_shuffles(evt):
shockwave_status = js.document.getElementById("shockwave_status")
starting_moves_count = js.document.getElementById("starting_moves_count")
choose_starting_moves = js.document.getElementById("choose_starting_moves")
start_with_slam = js.document.getElementById("start_with_slam")
try:
if moves.value == "start_with":
prices.setAttribute("disabled", "disabled")
Expand All @@ -663,6 +664,8 @@ def disable_move_shuffles(evt):
starting_moves_count.setAttribute("disabled", "disabled")
choose_starting_moves.checked = False
choose_starting_moves.setAttribute("disabled", "disabled")
start_with_slam.checked = True
start_with_slam.setAttribute("disabled", "disabled")
elif moves.value == "off":
prices.removeAttribute("disabled")
training_barrels.value = "normal"
Expand All @@ -673,12 +676,15 @@ def disable_move_shuffles(evt):
starting_moves_count.setAttribute("disabled", "disabled")
choose_starting_moves.checked = False
choose_starting_moves.setAttribute("disabled", "disabled")
start_with_slam.checked = True
start_with_slam.setAttribute("disabled", "disabled")
else:
prices.removeAttribute("disabled")
training_barrels.removeAttribute("disabled")
shockwave_status.removeAttribute("disabled")
starting_moves_count.removeAttribute("disabled")
choose_starting_moves.removeAttribute("disabled")
start_with_slam.removeAttribute("disabled")
except AttributeError:
pass

Expand Down
2 changes: 1 addition & 1 deletion wiki-lists/COLORED_BANANAS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
| Piano game right side | Balloon | l.trombone |
| In window by car race Mini Monkey | Balloon | |
| Tunnel to car race | Balloon | |
| Chunky R&D room | Balloon | |
| Chunky R&D room | Balloon | l.punch and l.triangle |
| Cranky/Candy room | Balloon | |
| Chunky room above blue switch | Balloon | |
| Chunky room above dark room entrance | Balloon | |
Expand Down
2 changes: 1 addition & 1 deletion wiki-lists/CUSTOM_LOCATIONS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
| Gloomy Galleon | Next to Lighthouse ladder | |
| Gloomy Galleon | Lighthouse: Under Enguarde Box | Events.LighthouseEnguarde in l.Events |
| Gloomy Galleon | In Enguarde Alcove | Events.LighthouseEnguarde in l.Events |
| Gloomy Galleon | In Front of Mermaid Palace | logic=lambda l:Events.LighthouseEnguarde in l.Events |
| Gloomy Galleon | In Front of Mermaid Palace | Events.LighthouseEnguarde in l.Events |
| Gloomy Galleon | On Rocketbarrel platform | |
| Gloomy Galleon | Blueprint Alcove | |
| Gloomy Galleon | Behind Snide's | |
Expand Down

0 comments on commit e5b3efd

Please sign in to comment.