zep715 / rbylua

Lua scripts for shiny hunting in RBY games
21 stars 13 forks source link

Mew problem #5

Open 95girl opened 5 years ago

95girl commented 5 years ago

Using Stationary and Wild lua fails to work with mew from mew glitch, after a few frames it advances to the battle screen, so AFTER the pokemon is generated. I believe that the mew from glitch counts as stationary , how do I make the script/s work?

I run the script with the start menu open, with the arrow on EXIT.

Stationary lua works with all the other legendaries otherwise.

federicorosso1993 commented 4 years ago

I faced the same problem today and I made it work

https://github.com/federicorosso1993/rbylua/blob/master/mewglitchbot.lua

I just had to delete the first joypad.set(1, {A=true})

and change the second joypad.set(1, {A=false}) to joypad.set(1, {B=true})

I think the way to make it work here is just press B after the first save state (that close the menu) and reload if not shiny. Not sure why the original script works (I usually don't even use lua at all), for what I understand it should click A before the save state and if it reload it should relead one frame too late but it actually works.

Still my script work for mew glitch.