darthbr
Banned
- 237
- Posts
- 9
- Years
- Seen Sep 13, 2024
I just found another system in emerald offset 2A4B2A
>>>>>>>>>>>>>>>>>> the problem is:
If i use super repel
> i have repel in bag
it will use repel instead super repel
used max repel
> i have super repel or repel
it will use repel or super repel instead of max repel
it must use the same ''repel'', its very confusing, but someone can help me correct this?
#dynamic 0x800000
#org 0x2A4B2A
goto @snippet1
'---------------
#org @snippet1
lock
msgbox @String1 MSG_SIGN '"El efecto del REPELENTE se\nagotó[..."
checkitem 0x56 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet2
checkitem 0x53 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet3
checkitem 0x54 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet4
release
end
'---------------
#org @snippet2
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet5
closeonkeypress
release
end
'---------------
#org @snippet3
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet6
closeonkeypress
release
end
'---------------
#org @snippet4
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet7
closeonkeypress
release
end
'---------------
#org @snippet5
removeitem 0x56 0x1
sound 0x2F
setvar 0x4021 0x64
msgbox @String3 MSG_NORMAL '"Usaste REPELENTE."
release
end
'---------------
#org @snippet6
removeitem 0x53 0x1
sound 0x2F
setvar 0x4021 0xC8
msgbox @String4 MSG_NORMAL '"Usaste SUPER REPEL."
end
'---------------
#org @snippet7
removeitem 0x54 0x1
sound 0x2F
setvar 0x4021 0xFA
msgbox @String5 MSG_NORMAL '"Usaste MAX REPEL."
end
'---------
' Strings
'---------
#org @String1
= El efecto del REPELENTE se\nagotó[.][.]
#org @String2
= ¿Quieres usar otro REPELENTE?
#org @String3
= Usaste REPELENTE.
#org @String4
= Usaste SUPER REPEL.
#org @String5
= Usaste MAX REPEL.
>>>>>>>>>>>>>>>>>> the problem is:
If i use super repel
> i have repel in bag
it will use repel instead super repel
used max repel
> i have super repel or repel
it will use repel or super repel instead of max repel
it must use the same ''repel'', its very confusing, but someone can help me correct this?
#dynamic 0x800000
#org 0x2A4B2A
goto @snippet1
'---------------
#org @snippet1
lock
msgbox @String1 MSG_SIGN '"El efecto del REPELENTE se\nagotó[..."
checkitem 0x56 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet2
checkitem 0x53 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet3
checkitem 0x54 0x1
compare LASTRESULT 0x1
if 0x1 goto @snippet4
release
end
'---------------
#org @snippet2
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet5
closeonkeypress
release
end
'---------------
#org @snippet3
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet6
closeonkeypress
release
end
'---------------
#org @snippet4
msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
compare LASTRESULT 0x1
if 0x1 goto @snippet7
closeonkeypress
release
end
'---------------
#org @snippet5
removeitem 0x56 0x1
sound 0x2F
setvar 0x4021 0x64
msgbox @String3 MSG_NORMAL '"Usaste REPELENTE."
release
end
'---------------
#org @snippet6
removeitem 0x53 0x1
sound 0x2F
setvar 0x4021 0xC8
msgbox @String4 MSG_NORMAL '"Usaste SUPER REPEL."
end
'---------------
#org @snippet7
removeitem 0x54 0x1
sound 0x2F
setvar 0x4021 0xFA
msgbox @String5 MSG_NORMAL '"Usaste MAX REPEL."
end
'---------
' Strings
'---------
#org @String1
= El efecto del REPELENTE se\nagotó[.][.]
#org @String2
= ¿Quieres usar otro REPELENTE?
#org @String3
= Usaste REPELENTE.
#org @String4
= Usaste SUPER REPEL.
#org @String5
= Usaste MAX REPEL.