From 8bb0fad40fe68883bb3168c899499958b1d3f893 Mon Sep 17 00:00:00 2001 From: Cyprian Klimaszewski Date: Mon, 8 Jun 2026 17:10:39 +0200 Subject: [PATCH] Add: Missing features to random switch. --- nml/actions/action2random.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nml/actions/action2random.py b/nml/actions/action2random.py index 04343778f..6a6342b86 100644 --- a/nml/actions/action2random.py +++ b/nml/actions/action2random.py @@ -90,7 +90,7 @@ def __init__(self, result, prob, comment): 0x0A: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 16, "triggers": False}}, 0x0B: {}, 0x0C: {}, - 0x0D: {}, + 0x0D: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 16, "triggers": False}}, 0x0E: {}, 0x0F: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 8, "triggers": False}}, 0x10: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 2, "triggers": False}}, @@ -100,6 +100,11 @@ def __init__(self, result, prob, comment): }, 0x12: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 2, "triggers": False}}, 0x13: {"SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 2, "triggers": False}}, + 0x14: { + "SELF": {"type": 0x80, "param": 0, "first_bit": 0, "num_bits": 16, "triggers": True}, + "TILE": {"type": 0x80, "param": 0, "first_bit": 16, "num_bits": 8, "triggers": True}, + }, + 0x15: {}, }