Skip to content

Swords and Souls: game is broken after defeating the first enemy #11319

@MartySVK

Description

@MartySVK

Describe the bug

I got this error:
Error dispatching event EventObject(EventObject { type: "charHeroAttack", class: flash.events::Event, ptr: 0x4c00aa4 }) to handler FunctionObject(FunctionObject { ptr: 0x720ca64 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: gotoAndStop) at interfaces::Loot() at interfaces::Loot$/loot() at game::FightManager$/handleDeath() at characters::Character/_die() at characters::Enemy/_die() at characters::Character/getHit() at game::FightManager$/_handleHit() at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent() at characters::Hero/_manageAttack()
Problem is @Aaron1011 's PR - #11084

SWF - https://data.gameflare.com/games/6579/luK5epRvoY99b2.swf
Game - https://www.gameflare.com/online-game/swords-and-souls/

Expected behavior

show second enemy

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-avm2Area: AVM2 (ActionScript 3)bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions