Change stop code when character attacks