Skip to content

Conversation

@rev2nym
Copy link
Contributor

@rev2nym rev2nym commented Aug 26, 2018

Remove accessing to $gameSystem by Scene_Base.

Remove accessing to $gameSystem by Scene_Base.
Game_System.prototype.frameCount = function() {
return this._frameCount;
return SceneManager.frameCount();
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

this function may no longer be required, because it does not originally exist ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All right, I will remove this.

Game_System.prototype.onAfterLoad = function() {
if (!this._frameCount) {
this._frameCount = this._framesOnSave;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, do not erase this for save data compatibility.

If this does not exist, SceneManager.setFrameCount(undefined) may occur. 😢

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that to raise the complexity of scripts for save data compatibility is not good. Though I respect your policy.

@krmbn0576
Copy link
Collaborator

Do not forget to reset SceneManager._frameCount on setupNewGame.

Copy link
Collaborator

@krmbn0576 krmbn0576 left a comment

Choose a reason for hiding this comment

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

_

Copy link
Collaborator

@krmbn0576 krmbn0576 left a comment

Choose a reason for hiding this comment

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

Thank you for PR!
Would you reflect my reviews before merging?

Copy link
Collaborator

@krmbn0576 krmbn0576 left a comment

Choose a reason for hiding this comment

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

OK! 🍣

Copy link
Contributor

@Sigureya Sigureya left a comment

Choose a reason for hiding this comment

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

OK!
OTUKARESAMA!

@krmbn0576 krmbn0576 merged commit f56c202 into rpgtkoolmv:master Sep 2, 2018
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.

3 participants