the abort message for my instance is:
Code: Select all
VM execution aborted: tried to read from address zero.
Called from StateProvider.A_CustomPunch at gzdoom.pk3:zscript/inventory/stateprovider.txt, line 301
Called from BrutalMeleeStaff.StateFunction.102 at test2.zip:decorate.meleestaff, line 123 //this is the line with the custompunch
Called from PSprite.Tick at gzdoom.pk3:zscript/shared/player.txt, line 2265
Called from PlayerPawn.TickPSprites at gzdoom.pk3:zscript/shared/player.txt, line 429
Called from PlayerPawn.PlayerThink at gzdoom.pk3:zscript/shared/player.txt, line 1449
Called from weapon state BrutalMeleeStaff.102 in BrutalMeleeStaff
Called from PSprite.SetState [Native]