Because I don't want to double post in the Script Help Thread, I would just post this here:
In this thread: https://www.pokecommunity.com/showthread.php?t=291023
The BW2 Repel System Thread, to be exact.
I noticed this line in the script Darthatron made:
Why is it 800E? Not 38? I thought repel is 38 in hexadecimal?
In this thread: https://www.pokecommunity.com/showthread.php?t=291023
The BW2 Repel System Thread, to be exact.
I noticed this line in the script Darthatron made:
Code:
#org @Main
lock
[S-HIGHLIGHT]checkitem 0x800E 1[/S-HIGHLIGHT]
compare LASTRESULT 1
if b_>= goto @ThereAreMore
msgbox @RepelExpired 3
release
end
#org @ThereAreMore
msgbox @UseAnother 5
closeonkeypress
compare LASTRESULT 1
if b_true goto @CallASM
end
#org @CallASM
callasm 0x081BFB69
end
#org @RepelExpired
= Repel's effect wore off.
#org @UseAnother
= Repel's effect wore off...\nUse another?
Why is it 800E? Not 38? I thought repel is 38 in hexadecimal?