Fix a wrong condition
Merge pull request #6876 from chinhodado/patch-3

Fix a wrong condition in buffer resizing
Update the hook for Kirameki School Life SP
Merge pull request #6877 from daniel229/func_replace_kirameki_update

Update the hook for Kirameki School Life SP