# Game crashing

**URL:** <https://forum.kirupa.com/t/game-crashing/250278>\
**Category:** Uncategorized\
**Created:** [January 28, 2008, 12:47am UTC](https://forum.kirupa.com/t/game-crashing/250278 "2008-01-28T00:47:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonthelion](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@leonthelion](https://forum.kirupa.com/u/leonthelion)\
**Post date:** [January 28, 2008, 12:47am UTC](https://forum.kirupa.com/t/game-crashing/250278/1 "2008-01-28T00:47:48Z")

</div>

Hi it’s me again D= I’m having a problem where the game crashes when an enemy uses a certain move. I’m not sure what the problem with the code is. Heres the code:

```php
 
_global.especial=2
_global.especialtimer=3

```

It doesn’t seem like much but it affects 10+ movieclips every frame which might be whats making it crash. All my enemies fx have this on the first frame:  
gotoAndStop(\_global.especial)  
which makes it go to the second frame when the enemy uses the move “flame surge” Basicly the move works like a special tranformation, but because of all the fx that is used to make the enemies flame (or my guess is), it makes the game just freeze. I’m sure theres a better code for this, and I could use some help. Thanks  
Here is the file  
[http://www.megafileupload.com/en/file/42098/Xin-Chapter-1-redone-fla.html](http://www.megafileupload.com/en/file/42098/Xin-Chapter-1-redone-fla.html)  
The file is the whole thing so only download it if you want to.  
Here is an swf example:  
[http://img210.imageshack.us/my.php?image=xinchapter1redoneyi5.swf](http://img210.imageshack.us/my.php?image=xinchapter1redoneyi5.swf)
