ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.65k stars 812 forks source link

Stunt Dirt Bike - level indicator always displays "Level 88" #14546

Open BeardedFish opened 10 months ago

BeardedFish commented 10 months ago

Describe the bug

When playing the game Stunt Dirt Bike, the level indicator is always Level 88 for every level.

image

Expected behavior

On native Flash Player, the level indicator shows the current level the player is on.

image

Content Location

http://andkon.com/arcade/racing/stuntdirtbike/

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Microsoft Edge Version 120.0.2210.91 (Official build) (64-bit)

Additional information

No response

Aaron1011 commented 10 months ago

There's something odd going on with EditText variable bindings. There are two objects named 'mc_level' in this SWF - one with a depth of 1, and one with a depth of 113. The depth=113 object has two EditText children with variablename level. However, it looks like the actual modification of the level variable is being done on the depth=1 object, so the EditText is never notified of the change.