Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Community PR] Integrate merrp's lighting branch #5288

Open
wants to merge 186 commits into
base: upcoming
Choose a base branch
from

Conversation

AsparagusEduardo
Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo commented Aug 30, 2024

Description

This PR integrates ntegrating #aarant's lighting-expanded-id branch.

Do NOT squash, as preserving history will help minimize merge conflicts for users that already merged the feature

Changes from the base branch:

  • Changed the BW Map Popup to update its time while active.
    • I did this first to have a way of debugging overworld exterior tinting over the day by locally forcing the Popup to not disappear.
  • Use Expansion's Fake RTC.
    • Changed tinting refresh rate to change alongside Fake RTC.
  • Use Expansion's constants (TIME_NIGHT instead of TIME_OF_DAY_NIGHT).
    • This allows for different tinting for Morning vs Evening.
  • Use Expansion's OW_TIMES_OF_DAYconfig (which allows users to set their own times by generation).
  • Option to enable lamp light "wobbling" (disabled by default), as it can be nausiating for some players. Fix Blinking Lights in Rustboro aarant/pokeemerald#41 will handle it instead.
  • Disable object event shadows

Images

mGBA_cdHELxiZt6

People who collaborated with me in this PR

  • @aarant for the original implementation and feature branch,
  • @Greenphx9 for their help merging to current expansion.

Discord contact info

AsparagusEduardo

@Bassoonian Bassoonian added this to the 1.11 milestone Oct 18, 2024
@AsparagusEduardo
Copy link
Collaborator Author

I'll be commenting as I apply changes locally

Copy link
Collaborator Author

@AsparagusEduardo AsparagusEduardo left a comment

Choose a reason for hiding this comment

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

Pushed some review changes for now.

src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather_effect.c Show resolved Hide resolved
@pkmnsnfrn pkmnsnfrn added the type: big feature A feature with big diffs and / or high impact / subjectivity / pervasiveness label Dec 20, 2024
@AsparagusEduardo AsparagusEduardo force-pushed the _RHH/pr/upcoming/lighting-expansion-v2 branch from c8cfd7d to dbc3cc2 Compare December 21, 2024 12:31
@AsparagusEduardo AsparagusEduardo force-pushed the _RHH/pr/upcoming/lighting-expansion-v2 branch from 9903fa5 to a5b079d Compare December 21, 2024 14:00
@AsparagusEduardo
Copy link
Collaborator Author

Finally, finally ready for re-review!

@Bassoonian Bassoonian self-assigned this Jan 13, 2025
@Pawkkie Pawkkie removed this from the 1.11 milestone Jan 13, 2025
Copy link
Collaborator

@Bassoonian Bassoonian left a comment

Choose a reason for hiding this comment

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

Review número dos

data/maps/MtPyre_Summit/scripts.inc Outdated Show resolved Hide resolved
data/maps/SlateportCity_BattleTentBattleRoom/scripts.inc Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's nice that we're getting a tutorial, but I would personally not consider this tutorial blocking for this PR (though it can be for the release) so we can get as much playtesting out of it as possible

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was a way of addressing the comments in the code that addressed reading the readme, so instead of removing the reference, I ported the content to a doc file.

Copy link
Collaborator

@Bassoonian Bassoonian Jan 18, 2025

Choose a reason for hiding this comment

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

Definitely fine by me, but we should probably expand upon it then and open an issue for this when the PR gets merged :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍

src/palette_util.c Outdated Show resolved Hide resolved
src/pokemon_summary_screen.c Outdated Show resolved Hide resolved
src/sprite.c Show resolved Hide resolved
src/util.c Outdated Show resolved Hide resolved
tools/gbagfx/jasc_pal.c Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@AsparagusEduardo AsparagusEduardo left a comment

Choose a reason for hiding this comment

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

Pushed a a bunch of local changes at once instead of one at a time to avoid spam lol

src/field_effect_helpers.c Show resolved Hide resolved
src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather.c Outdated Show resolved Hide resolved
src/field_weather_effect.c Outdated Show resolved Hide resolved
src/overworld.c Outdated Show resolved Hide resolved
src/pokemon_summary_screen.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: overworld Pertains to out-of-battle mechanics new-feature Adds a feature type: big feature A feature with big diffs and / or high impact / subjectivity / pervasiveness
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants