mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Use negative numbers
This commit is contained in:
parent
ffde16abd9
commit
9affb6dfb7
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue