• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script✓] Emerald - Value truncated when assembling

  • 20
    Posts
    1
    Years
    • Seen yesterday
    Hello all,

    I've looked where I could and haven't figure how to resolve this :

    Since I've add some customs overworld sprite, I randomly have this message in my command window while I'm assembling the game (I don't think "assembling" is the right term...)


    Code:
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc: Assembler messages:
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/LittlerootTown_BrendansHouse_2F/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/LittlerootTown_MaysHouse_2F/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/LittlerootTown_MaysHouse_2F/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/LittlerootTown_MaysHouse_2F/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/LittlerootTown_MaysHouse_2F/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/LittlerootTown_MaysHouse_2F/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_RedCave1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_RedCave1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_RedCave1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_RedCave1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_RedCave1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_RedCave1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_RedCave1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_RedCave1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BrownCave1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BrownCave1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BrownCave1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BrownCave1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BrownCave1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BrownCave1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BrownCave1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BrownCave1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BlueCave1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BlueCave1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BlueCave1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BlueCave1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BlueCave1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BlueCave1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BlueCave1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BlueCave1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_YellowCave1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_YellowCave1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_YellowCave1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_YellowCave1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_YellowCave1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_YellowCave1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_YellowCave1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_YellowCave1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Tree1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Tree1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Tree1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Tree1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Tree1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Tree1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Tree1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Tree1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Shrub1/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Shrub1/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Shrub1/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Shrub1/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Shrub1/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Shrub1/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Shrub1/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Shrub1/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_RedCave2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_RedCave2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_RedCave2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_RedCave2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_RedCave2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_RedCave2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_RedCave2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_RedCave2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BrownCave2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BrownCave2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BrownCave2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BrownCave2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BrownCave2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BrownCave2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BrownCave2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BrownCave2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BlueCave2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BlueCave2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BlueCave2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BlueCave2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BlueCave2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BlueCave2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BlueCave2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BlueCave2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_YellowCave2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_YellowCave2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_YellowCave2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_YellowCave2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_YellowCave2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_YellowCave2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_YellowCave2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_YellowCave2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Tree2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Tree2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Tree2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Tree2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Tree2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Tree2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Tree2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Tree2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Shrub2/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Shrub2/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Shrub2/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Shrub2/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Shrub2/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Shrub2/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Shrub2/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Shrub2/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_RedCave3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_RedCave3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_RedCave3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_RedCave3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_RedCave3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_RedCave3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_RedCave3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_RedCave3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BrownCave3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BrownCave3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BrownCave3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BrownCave3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BrownCave3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BrownCave3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BrownCave3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BrownCave3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BlueCave3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BlueCave3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BlueCave3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BlueCave3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BlueCave3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BlueCave3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BlueCave3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BlueCave3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_YellowCave3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_YellowCave3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_YellowCave3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_YellowCave3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_YellowCave3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_YellowCave3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_YellowCave3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_YellowCave3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Tree3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Tree3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Tree3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Tree3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Tree3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Tree3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Tree3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Tree3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Shrub3/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Shrub3/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Shrub3/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Shrub3/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Shrub3/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Shrub3/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Shrub3/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Shrub3/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_RedCave4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_RedCave4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_RedCave4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_RedCave4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_RedCave4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_RedCave4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_RedCave4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_RedCave4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BrownCave4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BrownCave4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BrownCave4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BrownCave4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BrownCave4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BrownCave4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BrownCave4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BrownCave4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_BlueCave4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_BlueCave4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_BlueCave4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_BlueCave4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_BlueCave4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_BlueCave4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_BlueCave4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_BlueCave4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_YellowCave4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_YellowCave4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_YellowCave4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_YellowCave4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_YellowCave4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_YellowCave4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_YellowCave4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_YellowCave4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Tree4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Tree4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Tree4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Tree4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Tree4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Tree4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Tree4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Tree4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/SecretBase_Shrub4/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/SecretBase_Shrub4/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/SecretBase_Shrub4/events.inc:15: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/SecretBase_Shrub4/events.inc:16: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/SecretBase_Shrub4/events.inc:17: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/SecretBase_Shrub4/events.inc:18: Warning: value 0x0000000000000104 truncated to 0x0000000000000004
    data/maps/SecretBase_Shrub4/events.inc:19: Warning: value 0x0000000000000105 truncated to 0x0000000000000005
    data/maps/SecretBase_Shrub4/events.inc:20: Warning: value 0x0000000000000106 truncated to 0x0000000000000006
    data/maps/ContestHall/events.inc:13: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/ContestHall/events.inc:14: Warning: value 0x0000000000000101 truncated to 0x0000000000000001
    data/maps/ContestHall/events.inc:15: Warning: value 0x0000000000000102 truncated to 0x0000000000000002
    data/maps/ContestHall/events.inc:16: Warning: value 0x0000000000000103 truncated to 0x0000000000000003
    data/maps/UnionRoom/events.inc:8: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/BattleFrontier_BattleTowerMultiPartnerRoom/events.inc:14: Warning: value 0x0000000000000100 truncated to 0x0000000000000000
    data/maps/BattleFrontier_BattleTowerMultiCorridor/events.inc:6: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/BattleFrontier_BattleTowerMultiCorridor/events.inc:9: Warning: value 0x0000000000000107 truncated to 0x0000000000000007
    data/maps/BattleFrontier_BattleTowerMultiBattleRoom/events.inc:10: Warning: value 0x0000000000000108 truncated to 0x0000000000000008
    data/maps/BattleFrontier_BattleTowerMultiBattleRoom/events.inc:11: Warning: value 0x0000000000000107 truncated to 0x0000000000000007
    data/maps/BattleFrontier_BattleFactoryBattleRoom/events.inc:13: Warning: value 0x0000000000000108 truncated to 0x0000000000000008

    So far nothing was noticeable, but while attending Contest, I can see that some NPC in the audience are replace by Brendan (on bike, on surf, and using a pokeball) (see the screenshot).
    So I went to see what happened in the code (ContestHall scripts.inc and events.inc) and haven't find nothing relevant.

    Sorry it was a bit long...

    I was wondering if any of you already had this warning message and if you resolved it or not ?

    Thank you
     

    Attachments

    • [PokeCommunity.com] Emerald - Value truncated when assembling
      Screenshot_2.png
      47.9 KB · Views: 5
    Hello all,

    I've looked where I could and haven't figure how to resolve this :

    Since I've add some customs overworld sprite, I randomly have this message in my command window while I'm assembling the game (I don't think "assembling" is the right term...)

    (...)

    So far nothing was noticeable, but while attending Contest, I can see that some NPC in the audience are replace by Brendan (on bike, on surf, and using a pokeball) (see the screenshot).
    So I went to see what happened in the code (ContestHall scripts.inc and events.inc) and haven't find nothing relevant.

    Sorry it was a bit long...

    I was wondering if any of you already had this warning message and if you resolved it or not ?

    Thank you

    Sounds like adding new sprites made your OBJ_EVENT_GFX_VARS constants larger than 256 and the compiler truncates their values to make them fit in the byte that's allocated to them.
    If that's the case you should expand the object event ids like this comment suggests.
     
    Sounds like adding new sprites made your OBJ_EVENT_GFX_VARS constants larger than 256 and the compiler truncates their values to make them fit in the byte that's allocated to them.
    If that's the case you should expand the object event ids like this comment suggests.

    I've already did that, and I went further following this URL https://github.com/pret/pokeemerald/wiki/Feature-Branches#overworld-expansion, went to the overworld-expansion section annnnnnd.... I screwed up everything. Now all the events are broken. And even if I change all the values I've changed, it's still broken.
    I think I'll have to restart from scratch, I was close from finishing this project...

    Edit: I manage to "fix" my mistake, but I'm still stuck on my original case
     
    Last edited:
    Edit: I manage to "fix" my mistake, but I'm still stuck on my original case
    If you have all the changes in the branch properly applied, I'd suggest you to double check the contents of the object_event macro located in asm/macros/map.inc.
    A lot of people tend to have problems with that. Each variable in the macro and their size needs to match what you see in the struct ObjectEventTemplate at include/global.fieldmap.h..
     
    If you have all the changes in the branch properly applied, I'd suggest you to double check the contents of the object_event macro located in asm/macros/map.inc.
    A lot of people tend to have problems with that. Each variable in the macro and their size needs to match what you see in the struct ObjectEventTemplate at include/global.fieldmap.h..

    Indeed I missed something in the map.inc file.
    It now work correctly.

    Thank to both of you
     
    Back
    Top