Use negative numbers

This commit is contained in:
Gwilym Kuiper 2022-10-01 15:35:24 +01:00
parent ffde16abd9
commit 9affb6dfb7

View file

@ -488,7 +488,7 @@ pub(crate) fn battle_screen(
agb.sfx.battle(); agb.sfx.battle();
agb.sfx.frame(); agb.sfx.frame();
help_background.set_scroll_pos((u16::MAX - 16, u16::MAX - 97).into()); help_background.set_scroll_pos((-16i16, -97i16).into());
crate::background::load_help_text(&mut agb.vram, help_background, 1, (0, 0)); crate::background::load_help_text(&mut agb.vram, help_background, 1, (0, 0));
crate::background::load_help_text(&mut agb.vram, help_background, 2, (0, 1)); crate::background::load_help_text(&mut agb.vram, help_background, 2, (0, 1));