Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → pokecrystal Adding a new map wrong x y cordinates please help

#1 2019-01-07 01:16:48

Ebernacher90
Member
From: Cochem
Registered: 2018-01-29
Post 15/31

pokecrystal Adding a new map wrong x y cordinates please help

Hi I've the tutorial for Add a new Map but this is

https://picload.org/view/dcigwwoc/bgb00005.png.html


what do i wrong here the source


https://mega.nz/#!g4MSTC4I!jxVl2FMVfXN2 … BZSe72BQT0


please help


thx to you all

Ebernacher90 (Daniel)

Last edited by Ebernacher90 (2019-01-07 01:17:09)

Offline

#2 2019-01-07 02:56:55

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,122/1,149

Re: pokecrystal Adding a new map wrong x y cordinates please help

It looks like from your screenshot that your issue might be with connection editing.
Review the connection macro format: https://github.com/pret/pokecrystal/blo … es.asm#L20

Instead of posting a download link to your source, it would be much more helpful if you posted a small code snippet of something you have changed that you think might be the cause.
Don't expect anyone to have the time or desire to dig through your code without even having any idea what you have done to it.

Offline

#3 2019-01-07 13:21:34

Ebernacher90
Member
From: Cochem
Registered: 2018-01-29
Post 16/31

Re: pokecrystal Adding a new map wrong x y cordinates please help

Danny-E 33 wrote:

It looks like from your screenshot that your issue might be with connection editing.
Review the connection macro format: https://github.com/pret/pokecrystal/blo … es.asm#L20

Instead of posting a download link to your source, it would be much more helpful if you posted a small code snippet of something you have changed that you think might be the cause.
Don't expect anyone to have the time or desire to dig through your code without even having any idea what you have done to it.


OK, next time i Post only the small code.
I've it like the Tutorial but is every wrong.

https://github.com/pret/pokecrystal/wik … d-landmark

Last edited by Ebernacher90 (2019-01-07 13:25:15)

Offline

#4 2019-01-08 00:23:51

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,124/1,149

Re: pokecrystal Adding a new map wrong x y cordinates please help

Like I said, it really looks like your issue is with connection data.
Try reviewing step 6 of that tutorial: https://github.com/pret/pokecrystal/wik … attributes

Offline

#5 2019-01-08 00:32:52

Rangi
Member
Registered: 2016-05-09
Post 875/919

Re: pokecrystal Adding a new map wrong x y cordinates please help

Assuming you followed the tutorial perfectly, I may have swapped the -2 and 2 in the connection data. Try this:

map_attributes GoldenrodCity, GOLDENROD_CITY, $35, NORTH | SOUTH | WEST
connection north, Route35, ROUTE_35, 5
connection south, Route34, ROUTE_34, 5
connection west, GlobalTerminalOutside, GLOBAL_TERMINAL_OUTSIDE, 2

map_attributes GlobalTerminalOutside, GLOBAL_TERMINAL_OUTSIDE, $35, EAST
connection east, GoldenrodCity, GOLDENROD_CITY, -2

Please let me know if that was the issue, I'll fix the tutorial.

Edit: Yeah, the description makes that clear: "The sideways offset is how many blocks to shift the connected map perpendicular to its direction. A north or south connection gets shifted right/east, a west or east connection gets shifted down/south. (So negative offsets will shift left/west or up/north, respectively.)"

Last edited by Rangi (2019-01-08 00:33:37)

Offline

#6 2019-01-08 02:18:16

Ebernacher90
Member
From: Cochem
Registered: 2018-01-29
Post 17/31

Re: pokecrystal Adding a new map wrong x y cordinates please help

Rangi wrote:

Assuming you followed the tutorial perfectly, I may have swapped the -2 and 2 in the connection data. Try this:

map_attributes GoldenrodCity, GOLDENROD_CITY, $35, NORTH | SOUTH | WEST
connection north, Route35, ROUTE_35, 5
connection south, Route34, ROUTE_34, 5
connection west, GlobalTerminalOutside, GLOBAL_TERMINAL_OUTSIDE, 2

map_attributes GlobalTerminalOutside, GLOBAL_TERMINAL_OUTSIDE, $35, EAST
connection east, GoldenrodCity, GOLDENROD_CITY, -2

Please let me know if that was the issue, I'll fix the tutorial.

Edit: Yeah, the description makes that clear: "The sideways offset is how many blocks to shift the connected map perpendicular to its direction. A north or south connection gets shifted right/east, a west or east connection gets shifted down/south. (So negative offsets will shift left/west or up/north, respectively.)"


Yes thx, this was the issue, thank you very much for helping

Offline

  • Index
  • → Help/Question
  • → pokecrystal Adding a new map wrong x y cordinates please help

Board footer

Powered by FluxBB