Dessyreqt icon

Super Metroid Room Names Script

Dessyreqt | PRO | 01/16/12 01:15:08 AM UTC | 0 ⭐ | 799 👁️ | Never ⏰ | []
Lua |

2.24 KB

|

None

|

0 👍

/

0 👎

roomNames = {
    [0] = "Title Screen",
    [479] = "Pressure Cooker",
    [735] = "Magnet Stairs",
    [145] = "Surface",
    [13017] = "Botwoon's Room",
    [5528] = "Bomb Torizo's Room",
    [2729] = "Crocomire's Room",
    [14298] = "Draygon's Room",
    [14258] = "Gold Torizo's Room",
    [12197] = "Kraid's Room",
    [2781] = "Mother Brain's Room",
    [2765] = "Phantoon's Room",
    [1504] = "Ridley's Room (Ceres)",
    [15027] = "Ridley's Room",
    [2973] = "Spore Spawn's Room",
    [658] = "Parlor",
    [4758] = "Shaft",
    [2461] = "Big Pink",
    [3486] = "Stairs",
    [10916] = "Warehouse",
    [11428] = "Warehouse",
    [935] = "Business Center",
    [2985] = "Hi-Jump Room",
    [679] = "Flying Buttresses",
    [423] = "Cathedral",
    [10415] = "Rising Time",
    [6828] = "Bubble Mountain",
    [7853] = "Double Chamber", 
    [8109] = "Wave Beam Room",
    [5291] = "Pantry",
    [1704] = "Ice Beam Room",
    [10147] = "Marsh",
    [9122] = "Hellway",
    [3733] = "Moat",
    [2252] = "Basement",
    [714] = "Attic",
    [201] = "Bowling Alley",
    [3790] = "Gravity Suit Room",
    [4246] = "Gauntlet",
    [1231] = "Main Street",
    [1488] = "Fish Tank",
    [1744] = "Mama Turtle's Room",
    [2256] = "Mt. Doom",
    [3537] = "Beach",
    [8661] = "Aqueduct",
    [10455] = "Coliseum",
    [13273] = "Space Jump Room",
    [12504] = "Coffee Break Room",
    [9942] = "Spring Ball Room",
    [4562] = "Plasma Beam Room",
    [14042] = "Cactus Alley",
    [9647] = "Gravitron",
    [19126] = "Screw Attack Room",
    [16308] = "Pillar Room",
    [16820] = "Royal Shaft",
    [16052] = "Mickey Mouse Room",
    [17076] = "Amphitheatre",
    [15283] = "Boiler Room",
    [19382] = "Boulder Room",
    [18614] = "Junkyard",
    [13222] = "Statues Room",
    [218] = "YMCA",
}
 
RAM = {
    words = {
        roomNumber = 0x7e079c,
    },
}
 
output = {
    x = 0,
    y = 210,
}
 
function OutputRoom()
    gui.text(output.x, output.y, "Room: " .. GetRoomName(memory.readword(RAM.words.roomNumber)))
end
 
function GetRoomName(roomNumber)
    return roomNames[roomNumber] and roomNames[roomNumber] or roomNumber
end
 
while true do
    OutputRoom()
    snes9x.frameadvance()
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎