Skip to content

Document UpdatePikachuHappinessAndMood routine#155

Merged
Rangi42 merged 4 commits into
pret:masterfrom
RainbowMetalPigeon:patch-2
Jun 7, 2026
Merged

Document UpdatePikachuHappinessAndMood routine#155
Rangi42 merged 4 commits into
pret:masterfrom
RainbowMetalPigeon:patch-2

Conversation

@RainbowMetalPigeon

Copy link
Copy Markdown
Contributor

Named unnamed labels.

Named unnamed labels.

@Rangi42 Rangi42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These labels seem locally accurate -- e.g. yes .done is at the "done" position within the routine -- but they don't actually document why any of the function's possible behavior cases are happening. It probably needs some more research into what contexts this function gets called under, and add some comments, not just labels. Compare with how ApplyOutOfBattlePoisonDamage right above here explains why it does what it does.

Comment thread engine/events/poison.asm Outdated
Comment thread engine/events/poison.asm Outdated
@Rangi42 Rangi42 changed the title Update poison.asm Document UpdatePikachuHappinessAndMood routine Jun 6, 2026
@Rangi42

Rangi42 commented Jun 6, 2026

Copy link
Copy Markdown
Member

(Also fixed the PR name from the default edited-a-file-on-GitHub-online name.)

RainbowMetalPigeon and others added 2 commits June 7, 2026 01:52
Document further and better the function that modifies Pikachu's happiness and mood by walking
Comment thread engine/events/poison.asm Outdated
@Rangi42 Rangi42 merged commit 3d30055 into pret:master Jun 7, 2026
2 checks passed
@Rangi42

Rangi42 commented Jun 7, 2026

Copy link
Copy Markdown
Member

Thanks!

github-actions Bot pushed a commit that referenced this pull request Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants