I tested it and it said:
Line 40 is the last line in:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_variables[80]=6
pokemon.form=6
end
} <- line 40
__________________


-Groudon-Rayquaza-Reuniclus-Ho-oh-

-TRIFORCE-
please help me with my problems:
POKEMON ESSENTIALS
help with Missingno ideas:
http://www.pokecommunity.com/showthread.php?p=7068357
Battle Different Form:
http://www.pokecommunity.com/showthread.php?t=274447
exception to max level for certain species:
http://www.pokecommunity.com/showthread.php?t=274902