I cant load the game

First of all,I’m sorry if someone have already asked this questions before…so…When I was about to start battle pyramid challenge at the battle frontier,my game crashed…it crashed after the girl told me about my partner…then it crashed…When I tried to play the game it says, Script ‘PokemonLoad’ line 518:NoMethodError occured.undefined method ‘updateMap’ for nil:NilClass
That is what the game said,plz I hope anyone can help me with this problem and I’m using windows 8 on an acer laptop…thank you

The battle frontier is currently quite bugged, stuff like this will happen.

Your best bet is to revert to a backup save file.