This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bank_01.asm: STA $CB ;$01DE08 InitBonusGame | |
| bank_01.asm: STA.w $1579 ;$01DE03 InitBonusGame | |
| bank_02.asm: STA $9E ;$02AC24 Game mode 0x03 and 0x22 | |
| bank_02.asm: STA $D8 ;$02AC32 Game mode 0x03 and 0x22 | |
| bank_02.asm: STA $D8 ;$02F957 Run cluster sprite code | |
| bank_02.asm: STA $D8 ;$02FC18 Run cluster sprite code | |
| bank_02.asm: STA $E4 ;$02AC28 Game mode 0x03 and 0x22 | |
| bank_02.asm: STA $E4 ;$02F94C Run cluster sprite code | |
| bank_02.asm: STA $E4 ;$02FBFF Run cluster sprite code | |
| bank_02.asm: STA.w $14C8 ;$02AC1F Game mode 0x03 and 0x22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function foo() | |
| print'foo' | |
| -- input.keyhook('up', false) | |
| callback.unregister('keyhook', foo) | |
| end | |
| callback.register('keyhook', foo) | |
| input.keyhook('up', true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local exec, gui = _G.exec, _G.gui | |
| local paused = { | |
| normal = true, | |
| advance_frame = true, | |
| advance_subframe = true, | |
| skiplag = true, | |
| skiplag_pending = true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local memory = _G.memory | |
| local movie = _G.movie | |
| local pointers = { | |
| [0x9329] = { | |
| max_index = 42 | |
| }, | |
| [0x9B89] = { | |
| max_index = 1 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local gui = _G.gui | |
| local callback = _G.callback | |
| local create_command = _G.create_command | |
| local exec = _G.exec | |
| local render_queue_function = _G.render_queue_function | |
| local paintctx = gui.renderctx.new(256, 224) | |
| local renderctx = gui.renderctx.new(256, 224) | |
| local num = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local gui = _G.gui | |
| local renderctx = gui.renderctx.new(256, 224) -- lsnes specific | |
| local num = 0 | |
| local function test() | |
| renderctx:clear() | |
| renderctx:set() | |
| num = num + 1 | |
| gui.text(0, 0, 'num = ' .. num .. ' ------------------------------ ' .. num, 0x80ff0000, 0x800000ff) |