Super C (USA) [Change Weapon In Game By Pressing Select][Screen Display][PLY1&PLY2][Duckmite]
completo!
Dowload Script Lua
by Duckmite
--2016.10.25 Recompilado e Editado by Patomite / Recompiled and Edited By Duckmite
--Waiting! Included the code for GAME GENIE
--SKTVAK for Super C (USA),64E8XCD
--SKYVAK for Super C (JAPAN),64F8XCD
--Enables Select any level in the title screen.
--Originally developed by myself in 1997.
--Em breve Sera Incluido o código para GAME GENIE
--SKTVAK para Super C (USA),64E8XCD
--SKYVAK para Super C (JAPAN),64F8XCD
--Que possibilita escolhar qualquer nivel na tela do titulo.
--Originalmente desenvolvido por eu mesmo em 1997.
--Waiting! Included the code for GAME GENIE
--SKTVAK for Super C (USA),64E8XCD
--SKYVAK for Super C (JAPAN),64F8XCD
--Enables Select any level in the title screen.
--Originally developed by myself in 1997.
--Em breve Sera Incluido o código para GAME GENIE
--SKTVAK para Super C (USA),64E8XCD
--SKYVAK para Super C (JAPAN),64F8XCD
--Que possibilita escolhar qualquer nivel na tela do titulo.
--Originalmente desenvolvido por eu mesmo em 1997.
--Original Edited from SMB2 Lua script by SpiderDave Script
--Thanks for your release SpiderDave!!!
--2016.10.25 Recompilado e Editado by Patomite / Recompiled and Edited By Duckmite
--This script is an edited compilation of the references above.
--Change the weapons simply by pressing Select! If you enjoy!
--Este script é uma compilação editada da referencia acima.
--Troque o Armamento simplesmente apertando Select! Se divirta-se!
require ".\\SpiderDave\\SpiderDave_functions"
local function text(x,y,str)
if (x > 0 and x < 255 and y > 0 and y < 240) then
gui.text(x,y,str)
end;
end;
function setweapon(cnum)
memory.writebyte(0x00b8,cnum) --Weapons Memory Adress
end
--PLY2
local function text2(x,y,str, color)
if (x > 0 and x < 255 and y > 0 and y < 240) then
gui.text(x,y,str)
end;
end;
function setweapon2(cnum)
memory.writebyte(0x00b9,cnum) --Weapons Memory Adress
end
while (true) do --require / Necessita SpiderDave_functions
inp = input_read()
joy = joypad_read()
---PLAYER 1
if joy[1].select_press then
setweapon((memory.readbyte(0x00b8)+1)%5)
end
---PLAYER 2
if joy[2].select_press then
setweapon2((memory.readbyte(0x00b9)+1)%5)
end
text(5,10,"Actived Special Weapon "..memory.readbyte(0x00b8));
if memory.readbyte(0x00b8)==0 then
text(5,20,"Press Select")
end
if memory.readbyte(0x00b8)==1 then
text(5,20,"M-Weapon")
end
if memory.readbyte(0x00b8)==2 then
text(5,20,"S-Weapon")
end
if memory.readbyte(0x00b8)==3 then
text(5,20,"L-Weapon")
end
if memory.readbyte(0x00b8)==4 then
text(5,20,"F-Weapon")
end
text2(130,10,"Actived Special Weapon "..memory.readbyte(0x00b9));
if memory.readbyte(0x00b9)==0 then
text2(130,20,"Press Select")
end
if memory.readbyte(0x00b9)==1 then
text2(130,20,"M-Weapon")
end
if memory.readbyte(0x00b9)==2 then
text2(130,20,"S-Weapon")
end
if memory.readbyte(0x00b9)==3 then
text2(130,20,"L-Weapon")
end
if memory.readbyte(0x00b9)==4 then
text2(130,20,"F-Weapon")
end
FCEU.frameadvance();
end;
--2016.10.25 Recompilado e Editado by Patomite / Recompiled and Edited By Duckmite
--Waiting! Included the code for GAME GENIE
--SKTVAK for Super C (USA),64E8XCD
--SKYVAK for Super C (JAPAN),64F8XCD
--Enables Select any level in the title screen.
--Originally developed by myself in 1997.
--Em breve Sera Incluido o código para GAME GENIE
--SKTVAK para Super C (USA),64E8XCD
--SKYVAK para Super C (JAPAN),64F8XCD
--Que possibilita escolhar qualquer nivel na tela do titulo.
--Originalmente desenvolvido por eu mesmo em 1997.
Nenhum comentário:
Postar um comentário