Registrarse

[Otros] E | BW2 Repel System

Danny0317

Todavía no sé español ;-;
Alright, so with the help of Le Pug and Touched, I've made a very, very ratchet system for it. The repel's effect wore off script offset is at 2A4B2A, so you can repoint it or just goto @pointer it...
Anyways, of course, this would be much better with a multichoice, but just for testing I did yes/no boxes. Anyways, here it is, you don't need to credit us or anything..

Código:
[PLAIN]
#dynamic 0xE40000
#org @start
lockall
msgbox   @ woreoff 0x6
msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @Repel
msgbox @2 0x5
compare 0x800D 0x1
if 0x1 goto @Super
msgbox @3 0x5
compare 0x800D 0x1
if 0x1 goto @max
releaseall
end

#org @Repel
checkitem 0x56 0x1
compare 0x800D 0x1
if 0x4 goto @rp
msgbox @notenough 0x6
releaseall
end

#org @notenough
= You don't have enough.

#org @rp
sound 0x2F
msgbox @usedr MSG_SIGN
removeitem 0x56 0x1
setvar 0x4021 100
release
end

#org @usedr
= [player] used a Repel.

#org @1
= Use a Repel?

#org @2
= Use a Super Repel?

#org @3
= Use a Max Repel?

#org @Super
checkitem 0x53 0x1
compare 0x800D 0x1
if 0x4 goto @sp
msgbox @notenough 0x6
releaseall
end

#org @sp
sound 0x2F
msgbox @useds MSG_SIGN
removeitem 0x53 0x1
setvar 0x4021 200
releaseall
end

#org @useds
= [player] used a Super Repel.

#org @max
checkitem 0x54 0x1
compare 0x800D 0x1
if 0x4 goto @mp
msgbox @notenough 0x6
releaseall
end

#org @mp
sound 0x2F
msgbox @usedm MSG_SIGN
removeitem 0x54 0x1
setvar 0x4021 250
release
end

#org @usedm
= [player] used a Max Repel.

#org    @ woreoff
= The Repel's effect wore off[.]
[/PLAIN]
 
Última edición por un moderador:

Cheve

MoonLover~
Miembro de honor
Respuesta: BW2 Repel System (sorta) en emerald

Thank you very much for this! :D

I will use it for sure :3
 

OPPAi_DAiSUKi

Usuario de bronce
[QUOTE = "Stay_Hidrated, post: 478199, member: 48495"]
The ModExe Emerald, already brings the BW repellent system.
[/ QUOTE]
YUP... i was wrong...i thought the BW Repel in the mod is not working...and thankfully i manage to make it big letters again...by the way sir do you have any idea on how to add BASE STATS Viewer of Pokemon in Pokemon Emerald's Pokedex Menu... in the Fire Red Mod Exe there is a mod to add it replacing the SIZE MENU or instead of SIZE MENU... i think its better to have it.... i have seen it on Blazing Emerald Rom Hack... i hope Mod Exe will have it..... THANKS for replying sir!!!
 
Arriba