Bene, mi sono voluto invischiare in uno script un po' complicato, questo è il fatto:
levelscript; ci ritroviamo in una zona d'erba con accanto il professore che blablabla e ci presta un suo pokemon per catturarne un altro (farmelo regalare subito mi pareva troppo facile

) e una masterball (perché sprecare pokéball?

). Nella lotta non si "dovrebbe" fuggire (non uso ASM, ho usato solo shinyzer, quindi di routine ci capisco niente, mi limito a semplici script), e l'incontro col pokemon è casuale (3 pokemon scelti: venonat, chinchou, taillow. Non chiedetemi perché quei 3 perché non lo so neanche io lol) e per ogni pokemon ci sono 1/19 possibilità che sia shiny.
Finito lo scontro il prof di nuovo blablabla (potrei chiamarlo Prof. D'Agostino

) e si riprende il pokemon e *puff* sparisce.
Le difficoltà sono:
1) non poter fuggire senza asm. Per ovviare a questo problema vorrei mettere una flag, magari il menù pokemon in modo che se fuggo o uccido il pokemon o lui uccide il mio (beh alla fine non è neanche mio ma shhh) mi fa ripetere la battaglia. Ma sto diventando scemo su dove inserirla. Perché quella flag all'inizio della battaglia c'è (per uno script precedente, che per pigrizia non ho voluto togliere) ma la tolgo subito con un clearflag.
2) eliminare il pokemon prestato. Ho provato a usare uno script trovato qui nelle guide ma non so se è giusto.
per ora lo script è questo, mancano la var dello script, i pointer dei movimenti e dei messaggi, a quello poi ci penso dopo tranquillamente:
#dynamic 0x800000
#org @start
lockall
fadescreen 0x1
movesprite 0x2 0xC 0x2
applymovement 0xFF @sguardodx
waitmovement 0x0
fadescreen 0x0
clearflag 0x828
checkflag 0x828
if 0x0 goto @cattura
msgbox @devicatturare 0x6
random 0x3
compare LASTRESULT 0x0
if 0x1 goto @venonat
compare LASTRESULT 0x1
if 0x1 goto @chinchou
compare LASTRESULT 0x2
if 0x1 goto @taillow
releaseall
end
#org @cattura
setvar 0x4053 0x1
msgbox @prestato 0x6
givepokemon 0xA 0x5 0x0
msgbox @masterball 0x6
additem 0x1 0x1
bufferitem 0x0 0x1
fanfare 0x101
msgbox @ottenuto 0x4
waitfanfare
closeonkeypress
msgbox @arriva 0x6
random 0x3
compare LASTRESULT 0x0
if 0x1 goto @venonat
compare LASTRESULT 0x1
if 0x1 goto @chinchou
compare LASTRESULT 0x2
if 0x1 goto @taillow
releaseall
end
#org @venonat
random 0x13
compare LASTRESULT 0x0
if 0x1 goto @venonatshiny
compare LASTRESULT 0x1
if 0x1 goto @venonatnormale
compare LASTRESULT 0x2
if 0x1 goto @venonatnormale
compare LASTRESULT 0x3
if 0x1 goto @venonatnormale
compare LASTRESULT 0x4
if 0x1 goto @venonatnormale
compare LASTRESULT 0x5
if 0x1 goto @venonatnormale
compare LASTRESULT 0x6
if 0x1 goto @venonatnormale
compare LASTRESULT 0x7
if 0x1 goto @venonatnormale
compare LASTRESULT 0x8
if 0x1 goto @venonatnormale
compare LASTRESULT 0x9
if 0x1 goto @venonatnormale
compare LASTRESULT 0xA
if 0x1 goto @venonatnormale
compare LASTRESULT 0xB
if 0x1 goto @venonatnormale
compare LASTRESULT 0xC
if 0x1 goto @venonatnormale
compare LASTRESULT 0xD
if 0x1 goto @venonatnormale
compare LASTRESULT 0xE
if 0x1 goto @venonatnormale
compare LASTRESULT 0xF
if 0x1 goto @venonatnormale
compare LASTRESULT 0x10
if 0x1 goto @venonatnormale
compare LASTRESULT 0x11
if 0x1 goto @venonatnormale
compare LASTRESULT 0x12
if 0x1 goto @venonatnormale
releaseall
end
#org @chinchou
random 0x13
compare LASTRESULT 0x0
if 0x1 goto @chinchoushiny
compare LASTRESULT 0x1
if 0x1 goto @chinchounormale
compare LASTRESULT 0x2
if 0x1 goto @chinchounormale
compare LASTRESULT 0x3
if 0x1 goto @chinchounormale
compare LASTRESULT 0x4
if 0x1 goto @chinchounormale
compare LASTRESULT 0x5
if 0x1 goto @chinchounormale
compare LASTRESULT 0x6
if 0x1 goto @chinchounormale
compare LASTRESULT 0x7
if 0x1 goto @chinchounormale
compare LASTRESULT 0x8
if 0x1 goto @chinchounormale
compare LASTRESULT 0x9
if 0x1 goto @chinchounormale
compare LASTRESULT 0xA
if 0x1 goto @chinchounormale
compare LASTRESULT 0xB
if 0x1 goto @chinchounormale
compare LASTRESULT 0xC
if 0x1 goto @chinchounormale
compare LASTRESULT 0xD
if 0x1 goto @chinchounormale
compare LASTRESULT 0xE
if 0x1 goto @chinchounormale
compare LASTRESULT 0xF
if 0x1 goto @chinchounormale
compare LASTRESULT 0x10
if 0x1 goto @chinchounormale
compare LASTRESULT 0x11
if 0x1 goto @chinchounormale
compare LASTRESULT 0x12
if 0x1 goto @chinchounormale
releaseall
end
#org @taillow
random 0x13
compare LASTRESULT 0x0
if 0x1 goto @taillowshiny
compare LASTRESULT 0x1
if 0x1 goto @taillownormale
compare LASTRESULT 0x2
if 0x1 goto @taillownormale
compare LASTRESULT 0x3
if 0x1 goto @taillownormale
compare LASTRESULT 0x4
if 0x1 goto @taillownormale
compare LASTRESULT 0x5
if 0x1 goto @taillownormale
compare LASTRESULT 0x6
if 0x1 goto @taillownormale
compare LASTRESULT 0x7
if 0x1 goto @taillownormale
compare LASTRESULT 0x8
if 0x1 goto @taillownormale
compare LASTRESULT 0x9
if 0x1 goto @taillownormale
compare LASTRESULT 0xA
if 0x1 goto @taillownormale
compare LASTRESULT 0xB
if 0x1 goto @taillownormale
compare LASTRESULT 0xC
if 0x1 goto @taillownormale
compare LASTRESULT 0xD
if 0x1 goto @taillownormale
compare LASTRESULT 0xE
if 0x1 goto @taillownormale
compare LASTRESULT 0xF
if 0x1 goto @taillownormale
compare LASTRESULT 0x10
if 0x1 goto @taillownormale
compare LASTRESULT 0x11
if 0x1 goto @taillownormale
compare LASTRESULT 0x12
if 0x1 goto @taillownormale
releaseall
end
#org @venonatshiny
setvar 0x8003 0x1
wildbattle 0x30 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @venonatnormale
setvar 0x8003 0x0
wildbattle 0x30 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @chinchoushiny
setvar 0x8003 0x1
wildbattle 0xAA 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @chinchounormale
setvar 0x8003 0x0
wildbattle 0xAA 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @taillowshiny
setvar 0x8003 0x1
wildbattle 0x130 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @taillownormale
setvar 0x8003 0x0
wildbattle 0x130 0x5 0x0
msgbox @dopocattura 0x6
special2 0x8005 0xBA
setvar 0x8004 0xA
bufferpokemon 0x0 0x8005
comparevars 0x8005 0x8004
if 0x0 goto @nulla
special 0x176
cmdc3 0x2F
msgbox @ripreso 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x2
fadescreen 0x0
releaseall
end
#org @nulla
releaseall
end
Sicuramente ci sarà qualcosa di sbagliato

Grazie per chi ci perderà un po' di tempo