EverestAPI / EverestAPI/Everest

CS06_BossIntro.BadelineFloat causes an NPE

Open
#696 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
516
Forks
106
Avg merge
4d 9h
Merged PRs (30d)
5

Description

### My mods and Everest install are up to date

Yes

### I have recreated the bug with only Everest OR a minimum number of mods enabled

Yes

### Describe the bug

In vanilla reflection [boss-00], if you touch the CS06_BossIntro cutscene (without skipping it), then touch the FinalBoss, read the dialogues normally. After Madeline says "We need to move past this", the game crashes.

why: FinalBoss.OnPlayer causes its NormalSprite = null, while CS06_BossIntro.BadelineFloat accesses this field without nullity check

### Steps to reproduce

run this tas

[6A_bug.txt](https://github.com/EverestAPI/Everest/files/13365514/6A_bug.txt)

### Expected behavior

no crash

### Operating System

Windows 10

### Everest Version

4417

### Mods required to reproduce

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.